To use a custom property in your styles, you reference it with the ________ syntax.

  • # symbol
  • $ symbol
  • & symbol
  • @ symbol
To use a custom property in your styles in CSS, you reference it with the @ symbol. Custom properties, also known as CSS variables, are defined using the :root pseudo-class, and their values can be accessed and used in your styles by prefixing the custom property name with the @ symbol.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *