Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

魅族浏览器不支持css min函数,导致样式失效 #15

Open
wangjiecamen opened this issue Nov 23, 2023 · 6 comments
Open

魅族浏览器不支持css min函数,导致样式失效 #15

wangjiecamen opened this issue Nov 23, 2023 · 6 comments

Comments

@wangjiecamen
Copy link

如题所述,能否在内部判断是否支持min函数,如果不支持则不进行单位换算

@wswmsword
Copy link
Owner

转换样式的时候判断不了,因为是在本地转换的,转换完的样式应该也判断不了,转换完的就是纯 CSS 代码了,除非 CSS 有兼容语法。不知道有兼容 min、max、clamp 之类的 polyfill 吗?

@CharleeWa
Copy link

CharleeWa commented Feb 21, 2024

钉钉使用的浏览器内核也不支持!

@wswmsword
Copy link
Owner

钉钉太懒了,也不更新一下浏览器内核==是不支持 min、max 这些 CSS 函数吗?是钉钉移动端吗?

@CharleeWa
Copy link

CharleeWa commented Feb 21, 2024

@wswmsword 是的,钉钉移动端不支持这些 CSS 函数 。桌面端效果正常。

@wswmsword
Copy link
Owner

要兼容老浏览器估计只能用 rem 了。

@SnowGuest
Copy link

魅族浏览器很拉跨,很多新特性都不支持

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants