Skip to content
This repository has been archived by the owner on Mar 22, 2022. It is now read-only.

sass-collective/sass-box-sizing

Repository files navigation

Sass Box Sizing

Version Download License

Introduction

Generate global CSS box-sizing.

Install

npm install @sass-collective/sass-box-sizing --save

Usage

Module System

@use "@sass-collective/sass-box-sizing";

@include sass-box-sizing.box-sizing();

Legacy @import

@import "@sass-collective/sass-box-sizing";

@include sass-box-sizing();

CSS

* {
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: inherit;
}

Options

  • border (default)
  • content