πŸ‡ΊπŸ‡¦ STOP WAR IN UKRAINE πŸ‡ΊπŸ‡¦
Avatar

Emotion

Nested Selectors

✏️ Edit this page

Sometimes it's useful to nest selectors to target elements inside the current class or React component. An example with an element selector is shown below.

(Edit code to see changes)

You can use & to select the current class nested in another element:

(Edit code to see changes)