随笔 - 44,  文章 - 0,  评论 - 4,  阅读 - 27761

随笔分类 -  CSS

CSS3倒影
摘要:Demo: -webkit-box-reflect: below 0 -webkit-linear-gradient(top,rgba(250,250,250,0),rgba(250,250,250,.0) 30%,rgba(250,250,250,0.3)); 语法 box-reflect:non 阅读全文
posted @ 2018-02-26 10:46 前端小透明 阅读(163) 评论(0) 推荐(0) 编辑
less基础语法
摘要:变量 混入(Mixins) 继承(extend) 作用域 运算 函数 递归 导入(import) 阅读全文
posted @ 2017-08-10 11:50 前端小透明 阅读(329) 评论(0) 推荐(0) 编辑
禁止文字选中
摘要:-moz-user-select:none;/*火狐*/ -webkit-user-select:none;/*webkit浏览器*/ -ms-user-select:none;/*IE10*/ -khtml-user-select:none;/*早期浏览器*/ user-select:none; 阅读全文
posted @ 2017-08-07 09:45 前端小透明 阅读(107) 评论(0) 推荐(0) 编辑
CSS图片文字同行居中
摘要:img{ display:inline-block; vertical-align:middle; } 阅读全文
posted @ 2017-05-02 13:17 前端小透明 阅读(533) 评论(0) 推荐(0) 编辑
CSS之clearfix清除浮动
摘要:.clear { clear: both; height: 0; overflow: hidden; display: block; line-height: 0 } .clearfix:after { clear: both; font-size: 0; height: 0; display: b 阅读全文
posted @ 2017-05-02 13:16 前端小透明 阅读(228) 评论(0) 推荐(0) 编辑
CSS文字不换行,溢出省略
摘要:white-space:nowrap; overflow:hidden; text-overflow:ellipsis; 阅读全文
posted @ 2017-05-02 13:07 前端小透明 阅读(483) 评论(0) 推荐(0) 编辑


< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示