css伪元素实现有序编号
来源:互联网 发布:安知玉如意txt网盘 编辑:程序博客网 时间:2024/06/05 05:43
<div class="content"> <p class="index">年龄在18-60岁</p> <p class="index">有淘宝账号</p> <p class="index">手机实名制</p> <p class="index">开通网银的银行卡(或信用卡)</p></div>
<style>.content { counter-reset: index; padding: .5rem 1.6rem; line-height: 3rem; border-bottom: .1rem solid #e5e5e5;} .content .index { padding-left: 2rem; position: relative;} .content .index:before { content: counter(index); counter-increment: index; display: inline-block; width: 1.6rem; height: 1.6rem; color: #e5e5e5; font-size: 1.1rem; text-align: center; line-height: 1.6rem; position: absolute; left: 0; top: 50%; margin-top: -.8rem; border-radius: 1.6rem; border: .1rem solid #e5e5e5;}.content .index:before { color: #47a8ef; border: .1rem solid #47a8ef;}</style>
0 0
- css伪元素实现有序编号
- 用css伪元素实现tooltip效果
- css 伪类 伪元素
- css伪类,伪元素
- CSS 伪元素 伪类
- CSS伪类、伪元素
- css:after 伪元素
- CSS伪元素
- CSS之伪元素
- CSS :after 伪元素
- CSS 伪元素
- CSS的伪元素
- CSS 伪类/元素
- CSS-伪元素
- 10027---CSS 伪元素
- css的伪元素
- CSS-伪类、元素
- CSS伪元素
- 跨服Lua调用
- Windows7下安装React Native开发环境
- 最长回文子串的输出
- msyql 删除带横杠名字的数据库 用tab 上面的 ` 例如 drop database `test-1-2`
- socket 聊天室
- css伪元素实现有序编号
- 论find_in_set(str,strlist) 参数单引号('')的重要性
- Java多线程之互斥
- 基于SpringBoot 开发
- java堆内存、栈内存、方法区
- 每N个数反转
- requirejs初体验
- Android提高后台服务进程优先级
- android studio使用过程中遇到的问题