As a highlight, Nested CSS doesn't support nested selectors if they both begin with letters, so the "&" is used as divider.
I highly recommend web-dev's check out the last section of the article*: https://webkit.org/blog/13813/try-css-nesting-today-in-safar...
[*: even though, IMO, in this instance it seems like a hack; nesting CSS styles, while the HTML is nested in the opposite direction seems pretty counterintuitive. but having the tool in your toolbox could be useful for other things.]
* https://developer.mozilla.org/en-US/docs/Web/CSS/:has
As a highlight, Nested CSS doesn't support nested selectors if they both begin with letters, so the "&" is used as divider.
I highly recommend web-dev's check out the last section of the article*: https://webkit.org/blog/13813/try-css-nesting-today-in-safar...
[*: even though, IMO, in this instance it seems like a hack; nesting CSS styles, while the HTML is nested in the opposite direction seems pretty counterintuitive. but having the tool in your toolbox could be useful for other things.]