In SASS or SCSS, the ________ allows you to reference the parent selector within a nested rule.

  • !
  • #
  • &
  • @
In SASS or SCSS, the ampersand (&) symbol is used to reference the parent selector within a nested rule. This is useful for creating more specific or complex selectors based on the parent selector's context. For example, you can use &:hover to apply styles when the parent element is hovered.
Add your answer
Loading...

Leave a comment

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