What is the JSS syntax for referencing generated class names called?

流过昼夜 提交于 2019-12-24 21:24:15

问题


Material UI uses JSS at its core and you sometimes need to override styles from their base components.

Example from Input: '&:hover:not($disabled):before'{ ... }

I cannot find this syntax mentioned in the JSS syntax docs, so it's hard to discuss with others without a common name. What is it called?


回答1:


This functionality is made possible through a plugin for nesting.

The plugin itself describes this as "nested selectors", which is also usually the term you will find being used to describe it when searching Stack Overflow.



来源:https://stackoverflow.com/questions/55067108/what-is-the-jss-syntax-for-referencing-generated-class-names-called

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!