postcss-direct-reset
v1.0.2
Published
PostCSS plugin to easy and fast reset elements with reset.css
Downloads
13
Maintainers
Readme
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;
}
/* p element */
.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
- [ ] - insert pseudo-elements if that needs
