postcss-direct-reset
1.0.2 • Public • Published PostCSS Direct Reset
PostCSS plugin to easy and fast reset
elements with reset.css.
If you don't wanna to global reset all css-elements, you can reset elements
directly.
Usage
.block {
@reset(element-selector)
}
Example
.block {
display: block;
margin: 1em auto;
}
.block__element {
@reset('p');
color: '#f00';
}
Will be processed to:
.block {
display: block;
margin: 1em auto;
}
.block__element {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
color: '#f00';
}
Roadmap
Package Sidebar
Install
npm i postcss-direct-reset
Weekly Downloads