Skip to content

Instantly share code, notes, and snippets.

@threepointone
Last active September 16, 2021 11:22
Show Gist options
  • Save threepointone/4b26807892ab09a89e3d5fc6c23e0154 to your computer and use it in GitHub Desktop.
Save threepointone/4b26807892ab09a89e3d5fc6c23e0154 to your computer and use it in GitHub Desktop.
<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