2.0.0 • Published 3 years ago

sass-break v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

sass-break

Release Version License

This Sass module provides mixins, functions, and variables for working with breakpoints and aids in responsive development.

Important: sass-break v1 will continue to provide an API similar to Bootstrap v5.

Install

  • Dart Sass: >=1.33.0

Install the package:

npm install sass-break

Use the package like any other Sass module:

@use 'sass-break';

Depending on your setup, you may need to configure node_modules as include path:

const sass = require('sass');

sass.render({
  file: scss_filename,
  includePaths: ['node_modules']
});

Public API

Horizontal Breakpoints

Variables

Mixins / Functions

Mixins apply a media query rule to the provided content. Functions generate a media query rule for the as a string.

Vertical Breakpoints

Variables

Mixins / Functions

Mixins apply a media query rule to the provided content. Functions generate a media query rule for the as a string.

Don't see the function you're looking for? Request a new feature describing a use case.