GithubHelp home page GithubHelp logo

Comments (14)

iceshu avatar iceshu commented on August 28, 2024

同问我也是这个问题,我的解决方案就是在左右一边加个线 就能渲染的好点

from lib-flexible.

njleonzhang avatar njleonzhang commented on August 28, 2024

遇到同样问题,求解决方案

from lib-flexible.

njleonzhang avatar njleonzhang commented on August 28, 2024

已经没人维护了么?

from lib-flexible.

airen avatar airen commented on August 28, 2024

使用的时候border单位是用的px还是rem?

from lib-flexible.

fwon avatar fwon commented on August 28, 2024

最开始是用rem,现在加了/no/保持px单位就不会闪了。1px对应的rem在某些机子上不显示,比如魅族。

from lib-flexible.

njleonzhang avatar njleonzhang commented on August 28, 2024

@fwon 能详细解释下这句么?
现在加了/no/保持px单位就不会闪了

from lib-flexible.

fwon avatar fwon commented on August 28, 2024

@njleonzhang 就是不把px转换成rem单位,保持1px

from lib-flexible.

njleonzhang avatar njleonzhang commented on August 28, 2024

@airen @fwon border没用过rem做单位啊。一直是px哦

from lib-flexible.

Angelkuga avatar Angelkuga commented on August 28, 2024

用1px的时候 新的处理方式 ios9以上是 按1倍屏处理 6plus上面 实际占用的物理像素就是3 border线看起来明显很粗。 为什么要单独对 ios9以上的做 1倍处理 我很不明白

from lib-flexible.

fwon avatar fwon commented on August 28, 2024

@Angelkuga 实际上 initial-scale 不是已经进行了缩小操作吗,所以1px应该不会看起来是3px吧

from lib-flexible.

Angelkuga avatar Angelkuga commented on August 28, 2024

@fwon 其实我想知道 【针对OS 9_3的UA,做临时处理,强制dpr为1,即scale也为1,虽然牺牲了这些版本上的高清方案,但是也只能这么处理了】 为什么要这样做 正常按dpr为3 显示会有什么问题

from lib-flexible.

ckrad avatar ckrad commented on August 28, 2024

同问 我也遇到了这个问题 很多有边框的元素渲染出来很丑 不知道是否有解决方案 或者谁能解释一下具体是什么原因造成这种情况

from lib-flexible.

njleonzhang avatar njleonzhang commented on August 28, 2024

不知道各位遇到的和我是不是一个问题,ios上border会被下面的元素盖住,有时候看起来细了,有时候甚至看不见了 #72

from lib-flexible.

taylor-swift-1989 avatar taylor-swift-1989 commented on August 28, 2024

1px 如果需要,建议用css3写;参考 阿里去啊的 ,移动端 Retina屏 各大主流网站1px的解决方案

from lib-flexible.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.