码迷,mamicode.com
首页 > Web开发 > 详细

css实现0.5px

时间:2018-08-02 20:38:19      阅读:162      评论:0      收藏:0      [点我收藏+]

标签:for   transform   bsp   round   back   兼容   100%   使用   abs   

使用缩放来0.5来实现,注意兼容各种浏览器

.frz-list li:after {
    content: ‘‘;
    position: absolute;
    bottom: 0;
    height: 1px;
    width: 100%;
    background-color: #bbb;
    -webkit-transform: scaleY(0.5);
    -moz-transform: scaleY(0.5);
    transform: scaleY(0.5);
}

 

css实现0.5px

标签:for   transform   bsp   round   back   兼容   100%   使用   abs   

原文地址:https://www.cnblogs.com/wxcbg/p/9409162.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!