Comments (14)
同问我也是这个问题,我的解决方案就是在左右一边加个线 就能渲染的好点
from lib-flexible.
遇到同样问题,求解决方案
from lib-flexible.
已经没人维护了么?
from lib-flexible.
使用的时候border单位是用的px还是rem?
from lib-flexible.
最开始是用rem,现在加了/no/保持px单位就不会闪了。1px对应的rem在某些机子上不显示,比如魅族。
from lib-flexible.
@fwon 能详细解释下这句么?
现在加了/no/保持px单位就不会闪了
from lib-flexible.
@njleonzhang 就是不把px转换成rem单位,保持1px
from lib-flexible.
@airen @fwon border没用过rem做单位啊。一直是px哦
from lib-flexible.
用1px的时候 新的处理方式 ios9以上是 按1倍屏处理 6plus上面 实际占用的物理像素就是3 border线看起来明显很粗。 为什么要单独对 ios9以上的做 1倍处理 我很不明白
from lib-flexible.
@Angelkuga 实际上 initial-scale 不是已经进行了缩小操作吗,所以1px应该不会看起来是3px吧
from lib-flexible.
@fwon 其实我想知道 【针对OS 9_3的UA,做临时处理,强制dpr为1,即scale也为1,虽然牺牲了这些版本上的高清方案,但是也只能这么处理了】 为什么要这样做 正常按dpr为3 显示会有什么问题
from lib-flexible.
同问 我也遇到了这个问题 很多有边框的元素渲染出来很丑 不知道是否有解决方案 或者谁能解释一下具体是什么原因造成这种情况
from lib-flexible.
不知道各位遇到的和我是不是一个问题,ios上border会被下面的元素盖住,有时候看起来细了,有时候甚至看不见了 #72
from lib-flexible.
1px 如果需要,建议用css3写;参考 阿里去啊的 ,移动端 Retina屏 各大主流网站1px的解决方案
from lib-flexible.
Related Issues (20)
- 为啥不兼容pc 端自适应 HOT 1
- html的font-size最大为54 HOT 1
- 你网站不能访问了 HOT 4
- 你网站坏了
- vue开发我想pc端不用你这个布局而移动端用怎么办? HOT 2
- 540px HOT 3
- 反馈一个viewport方案不兼容的机型
- 页面在iframe中展示时rem设置的bug
- 强烈建议把推荐那篇vue的适配文章去掉. 不要给www.w3cplus.com导流!!! HOT 2
- px
- px转换rem,多位小数,div出现白边
- 既然已经设置为理想视口,setBodyFontSize里为什么还要根据dpr设置字体大小 HOT 15
- 如何针对微信浏览器的调整字体大小功能进行适配? HOT 5
- 可以设置html最小的字体值么?
- ios输入框键盘弹窗后界面变形 HOT 1
- 没使用说明吗? HOT 2
- 字体不响应怎么解决 HOT 3
- 大佬 你的组件库 pc 端 兼容一下吧 要不还得改源码 不方便维护啊 HOT 5
- help
- 安卓微信适配问题 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lib-flexible.