是否可以在ID或Class中使用:root选择器?我试图在另一页上改变颜色。 :root { --color-one: red; --color-two: blue; } /* Can something like this happen? */ .posts:root { -...
我已经设置了具有http://cssnext.github.io的postcss解析器,并正在尝试找出一种方法来设置一个variables.css文件来包含所有主题设置。 到目前为止,variable.css看起来像这样,有几个变量: :root { --color-white: #F...