@import

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

Explanation: The directive that allows including styles from other stylesheets into the current stylesheet. It's useful for organizing and reusing CSS code across different files, but can affect page load times as it delays the rendering of styles.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 1
Availability: