css - 浏览器中的opacity、rgba的效果和Android、iOS程序中使用的色彩透明的效果差别很大。
黄舟
黄舟 2017-04-17 17:57:50
0
3
851

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

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(3)
阿神

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.

小葫芦

Passing by without observing the sky carefully

阿神

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!