【CSS3】---CSS after实现分隔线
2015-11-05 00:00
666 查看
label+label(选择非第一个元素label)
after分割线
.categroylist label+label :after { content: ""; position: absolute; top: 0; left: 15px; width: 100%; height: 1px; margin: 0 auto; padding: 0; background-color: #E5E5E5; overflow: hidden; }
相关文章推荐
- 【CSS3】---文本阴影text-shadow
- 编写灵活、稳定、高质量的 HTML 和 CSS 代码的规范
- 【CSS3】---属性选择器
- 【CSS3】---画几何图
- 【CSS3】---last-of-type选择器+nth-last-of-type(n)选择器
- 【CSS3】---text-overflow 与 word-wrap
- 【CSS3】---嵌入字体@font-face
- 【CSS3】---only-child选择器+only-of-type选择器
- 【CSS3】---为边框应用图片 border-image
- 【CSS3】---练习制作导航菜单
- 【CSS3】---@font-face
- 【CSS3】---@font-face
- 【CSS3】---first-of-type选择器+nth-of-type(n)选择器
- 【WebKit】---WebKit的CSS扩展(WebKit是私有属性)
- 【CSS3】---学习目录
- 【CSS3】---background-origin background-clip background-size
- 用CSS样式下载器 下载CSS里面的图片路径配对问题
- css选择器权值
- CSS基础(03)
- 详解CSS3渐变(线性和径向)