Mixin Test

The mixin at-rule does not work in standard CSS without a preprocessor.

by Shawn

HTML

<div>Mixin Test</div>

CSS

@mixin blue {
  background-color: blue;
  height: 100vh;
  color: #fff;
}

div {
  @include blue;
}