The parent selector, &, is a special selector invented by Sass that’s used in nested selectors to refer to the outer selector. .alert { // The parent selector can be used to add pseudo-classes to the outer // selector. &:hover { font-weight: bold; } } https://sass-lang.com/documentation/style-rules/parent-selector/
Marked as helpful