一个a::before的写法
2016-06-27 16:40
302 查看
#key_table table tr td a::before{//这是个a前面的蓝色小圆点
background: #48A7D9;
content: "";//这是before元素中的内容
border-radius: 50%;
display: inline-block;//这个属性很重要,如果没有这个属性,before元素将不显示
width: 8px;
height: 8px;
position: relative;
top: -1px;
margin-right: 8px;
}
background: #48A7D9;
content: "";//这是before元素中的内容
border-radius: 50%;
display: inline-block;//这个属性很重要,如果没有这个属性,before元素将不显示
width: 8px;
height: 8px;
position: relative;
top: -1px;
margin-right: 8px;
}
相关文章推荐
- 错误错误错误错误犯蠢犯蠢犯蠢。。。。[新增某些知识点]
- R语言tm包中的TermDocumentMatrix函数生成中文词语矩阵含有\n
- Leetcode-container-with-most-water
- QTableWidget中添加checkbox,并相应触发函数
- 鼠标拖动div移动
- sklearn 中 make_blobs模块使用
- 移动端web页面知识小结之页面部分
- 深入浅出 RPC - 浅出篇+深入篇
- angularJs模糊查询
- 2081手机短号
- Hive的sql语句
- C#创建数据库及附加数据库的操作方法
- 275. H-Index II
- 数据库拆分字段
- Win7如何安装Activex控件?Win7安装ActiveX控件的方法
- 键盘事件
- JS跨域:1.解决方案之-SpringMVC拦截器
- com.alibaba.dubbo.rpc.RpcException的解决方法
- Skype for Business Server 2015 后端数据库文件迁移位置
- oracle,mysql对敏感,关键字等处理