Jigsass-generic-reset - 1.1.3
JigSass Generic Reset
A minimal and considered CSS reset
The JigSass reset is meant to compliment jigsass-generic-normalize
(though it does not depend on it), and removes margins paddings and font-sizes from selected element, as well as sets the default global box-sizing
to border-box
.
Installation
Using npm:
npm i -S jigsass-generic-reset
Usage
@import 'path/to/jigsass-generic-reset/scss/index';
Like all other JigSass modules, all css output is opt-in, and needs to be explicitly @includ
ed. Simply importing it will not affect your generated css.
License: MIT
reset
mixins
jigsass-reset-box-sizing
@mixin jigsass-reset-box-sizing() { ... }
Description
Set the HTML elemnt's box-sizing
to border-box
and inherit in all child elements
Sets the global $jigsass-border-box
variable to true, to let other modules know that global box-sizing has been set to border-box
.
Parameters
None.
Used by
- [mixin]
jigsass-reset
Links
jigsass-reset-box-model
@mixin jigsass-reset-box-model() { ... }
Description
Remove default margins padding-and borders from elements
Parameters
None.
jigsass-reset-headlines
@mixin jigsass-reset-headlines() { ... }
Description
Remove default headline styling
Parameters
None.
jigsass-reset-tables
@mixin jigsass-reset-tables() { ... }
Description
Better starting point for tables
Parameters
None.
jigsass-reset-forms
@mixin jigsass-reset-forms() { ... }
Description
Sane defaults for form elements
Parameters
None.
jigsass-reset
@mixin jigsass-reset() { ... }
Description
Include all resets
Parameters
None.
Requires
- [mixin]
jigsass-reset-box-sizing