Skip to content
On this page

Rem

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

Installing

Add @unsass/rem as dependencies for the project.

shell
npm install @unsass/rem

Usage

Use @unsass/rem inside the project.

scss
@use "@unsass/rem";

.foo {
    font-size: rem.convert(16px);
}