@scope

Term side of the Card
Topic: Directives
Unit title: @scope
Categories: Directive
Explanation side of the Card

Explanation: The directive used to define the scope of styles within a specific part of the document. It allows applying styles only to elements within a defined section, making it easier to manage and contain styles, especially in large or complex projects.

Browser compatibility:
  • The chrome browser supports this feature starting from version 118
  • The edge browser supports this feature starting from version 118
  • The firefox browser does not support this feature
  • The safari browser supports this feature starting from version 17.4
Availability: Limited