Skip to content

Instantly share code, notes, and snippets.

@tomhodgins
Created August 5, 2020 19:14
Show Gist options
  • Save tomhodgins/79135f668fc77ca1687b7ee609e1cec6 to your computer and use it in GitHub Desktop.
Save tomhodgins/79135f668fc77ca1687b7ee609e1cec6 to your computer and use it in GitHub Desktop.
Custom Parts of CSS Syntax
@--custom-at-rule with prelude {
custom-type:--custom-pseudo-class(with args) /--custom-combinator/ ::--custom-pseudo-element {
--custom-property: --custom-ident --custom-function(1--custom-unit) !--custom-annotation;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment