Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Material UI 使用 JSS 作为其核心,您有时需要从其基础组件中覆盖样式。
示例来自Input:'&:hover:not($disabled):before'{ ... }
Input
'&:hover:not($disabled):before'{ ... }
我找不到JSS 语法文档中提到的这种语法,因此很难与没有通用名称的其他人讨论。这叫什么?
这个功能是通过嵌套插件实现的。
插件本身将其描述为“嵌套选择器”,这通常也是您在搜索 Stack Overflow 时用来描述它的术语。