Skip to content

Instantly share code, notes, and snippets.

@loganvolkers
Created February 11, 2022 19:07
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save loganvolkers/a6a17b6809b46711a0580c93dac9b891 to your computer and use it in GitHub Desktop.
`<sqm-example hidden />`
:host([hidden]){
display: none;
}
`<sqm-example show-icon />`
:host([show-icon]) .icon{
display: block;
}
`<sqm-example />`
`<sqm-example />`
`<sqm-example />`
:host(:not(:last-of-type)) .icon{
display: block;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment