Skip to main content
Version: 4.0.0+

Breakpoint Mixins

ACSS 4 has no breakpoint mixins. @include breakpoint(l) and @include breakpoint-up(m) were removed with the breakpoints. If your Global SCSS still uses them, compiling fails.

Write the media query directly instead:

// ACSS 3.x
.hero {
@include breakpoint(m) {
text-align: center;
}
}

// ACSS 4.x
.hero {
@media (max-width: 768px) {
text-align: center;
}
}

The 3.x page is still available in the 3.x docs. See Website Width & Breakpoints for how ACSS 4 handles responsiveness.