随笔分类 -  笔记总结css

摘要:1):link/:visited/:hover/:active (爱恨原则 love/hate)2):first-child/:last-child/:only-child/:nth-child(n) n从1开始3)E :nth-last-child(n) 匹配父元素的倒数第n个子元素E,假设该子元 阅读全文
posted @ 2019-04-22 14:34 XG16 阅读(294) 评论(0) 推荐(0)
摘要:最近老是用到这些不怎么常用的样式,写下来便于记住。 1. 选择器 :before content 可为空。 2.选择器 :after 此例中content 为空。 阅读全文
posted @ 2017-12-28 10:19 XG16