Skip to content
On this page

Breakpoint

This section will help you to basically used @unsass/breakpoint inside your project.

Installing

Add @unsass/breakpoint as dependencies for the project.

shell
npm install @unsass/breakpoint

Usage

How to use @unsass/breakpoint inside the project.

scss
@use "@unsass/breakpoint";

.foo {
    @include breakpoint.up("lg") {
        color: darkcyan;
    }
}

Tokens

KeyValue
xs360px
sm480px
md768px
lg960px
xl1200px
2xl1400px