Skip to main content

At-Rule@ prefix Directive to control CSS behavior for next block/line

aka rule, CSS-Directive

@identifier __define_rule_here;

@media

At-Rule to conditionally apply Style Rule vs Media Query

@charset

@import

@namespace

@font-face

to declare web font - will not trigger immediate download

References

  1. @mediaAt-Rule to conditionally apply Style Rule vs Media Query

  2. @mixinAt-Rule to Encapsulate Style Rule with optional args

  3. @tailwindAt-Rule to declare tailwind layers & CSS resets