摘要: 选择器 :last-child /* 选择元素最后一个孩子 */ :first-child /* 选择元素第一个孩子 */ :nth-child(1) /* 按照第几个孩子给它设置样式 */ :nth-child(even) /* 按照偶数 */ :nth-child(odd) /* 按照奇数 */ 阅读全文
posted @ 2020-07-15 15:51 bingxiaoxiao 阅读(170) 评论(0) 推荐(0)
摘要: 1、语义化标签 <hrader></header> 定义了文档的头部区域 <footer></footer> 定义了文档的尾部区域 <nav></nav> 定义文档的导航 <section></section> 定义文档中的节(section、区段) <article></article>定义页面独 阅读全文
posted @ 2020-07-15 15:13 bingxiaoxiao 阅读(274) 评论(0) 推荐(0)