@media (min-width: THIS-VALUE) {
.CLASS {
Width: QUERY-WIDTH;
}
这可能吗?
请举例说明。
谢谢
最佳答案
这可能是一个 css 预处理器的例子。您可以在 less 中设置可以在整个 css 中重复使用的变量。
Less is a CSS pre-processor, meaning that it extends the CSS language, adding features that allow variables, mixins, functions and many other techniques that allow you to make CSS that is more maintainable, themable and extendable.
检查几个选项:
关于css - 动态 Css 媒体查询,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29939006/