我正在尝试SCSS基于浏览器语言进行申请。在检查中,我正在像这样<html lang = "de">在CSS上和CSS上获得浏览器语言html[Attributes Style] {-webkit-locale: "en";}。
SCSS
<html lang = "de">
html[Attributes Style] {-webkit-locale: "en";}
如何根据页面语言将CSS应用于不同的类?
你能试试这个把戏吗?
html[lang="de"] { //your styles }
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
点击生成二维码
我来说两句