css3
文章平均质量分 56
YdPro_
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
base.css
/* http://meyerweb.com/eric/tools/css/reset/v2.0 | 20110126License: none (public domain)*/html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd原创 2021-01-13 09:15:23 · 161 阅读 · 0 评论 -
css3 选择器 nth-child()选择问题
nth-child() 是一个伪类选择器,它并不会按照标签的顺序进行选择,而是按照顺序进行选择#例子:<!DOCTYPE html><html><head><style> p:nth-child(8) # 先根据顺序选择第8行,在检查它是否是p元素,如果是p就是红色,父元素是body{background:#ff0000;}</style></head><body><h1>这是标题&原创 2020-06-27 10:30:07 · 438 阅读 · 0 评论
分享