html 页面,兼容1px的问题
2015-11-23 16:14
525 查看
.ubb1{ border-bottom: 1px solid rgba(112,112,112,1); background: -webkit-gradient(linear, left top, left bottom, color-stop(.5, transparent), color-stop(.5, #888), to(#888)) left bottom repeat-x; background-size: 100% 1px; }
开发中遇到一个问题,一条细线,在ios
系统上是2px,在安卓上是1px ,怎么实现0.5px呢
找了好多方法,这个可以实现记下来,备用
相关文章推荐
- html引用百度地图API
- cordova 如何从手机sdcard上加载html
- C#发送带图片HTML邮件
- canvas-8searchLight4.html
- canvas-8searchLight3.html
- canvas-8searchLight2.html
- canvas-8clip.html
- canvas-7globleCompositeOperation2.html
- canvas-7globleCompositeOperation.html
- canvas-7global.html
- canvas-6shadow.html
- html中offsetTop、clientTop、scrollTop、offsetTop各属性介绍
- html各种数据校验
- html图标插件
- HTML编辑器
- HTML编辑器
- HTML Video 播放问题
- HTML中的行内元素和框元素详解
- html的换行问题(未解决)
- HTML总结