search

Home  >  Q&A  >  body text

css - 浏览器中的opacity、rgba的效果和Android、iOS程序中使用的色彩透明的效果差别很大。

【收集答案】
不知道大家有没有发现浏览器中的opacity、rgba的效果和Android、iOS程序中使用的色彩透明的效果差别很大。大家是如何看待和适配这个问题的,UI方面又如何处理这个问题?

黄舟黄舟2812 days ago875

reply all(3)I'll reply

  • 阿神

    阿神2017-04-17 17:59:50

    They are all set in FF units. If there is a difference, it can only be a rendering problem. You can’t deal with it if it looks different. Many mobile phones display different colors. When making applications, we will take into account the differences of different mobile phones. Color display? The answer is definitely no. The difference in mobile phone rendering should not be adapted by the application. This is made by the mobile phone manufacturers themselves. Whether it is a bug or you think this color rendering effect is good, there is no practical significance in investing too much energy in it. . Personal opinion

    As for UI processing, I haven’t seen any clear instructions in this regard, and I don’t know if I can know the reason by in-depth understanding.

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 17:59:50

    Passing by without observing the sky carefully

    reply
    0
  • 阿神

    阿神2017-04-17 17:59:50

    I feel like I can only use pictures to make the background transparent

    reply
    0
  • Cancelreply