Last active
September 16, 2021 11:22
-
-
Save threepointone/4b26807892ab09a89e3d5fc6c23e0154 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div className={'blue '+ css({ '&&': { color: 'red'}})}> | |
'&&' boosts specificity. add as many '&&&'s as you want | |
</div>, | |
<div className={css({ '& #meEle': { color: 'red' }})}> | |
<div id='myEle'> | |
targeting by id | |
</div> | |
</div> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment