postcss-all-unset
v1.1.0
Published
PostCSS plugin for all: unset
Downloads
28
Maintainers
Readme
PostCSS all: unset
fallback
PostCSS plugin to fallback all: unset
.
a{
all: unset;
}
a {
animation: none 0s ease 0s 1 normal none running;
backface-visibility: visible;
background: transparent none repeat 0% 0% / auto auto padding-box border-box scroll;
border: medium none currentColor;
border-radius: 0;
border-collapse: separate;
border-image: none;
border-spacing: 0;
bottom: auto;
box-shadow: none;
box-sizing: content-box;
caption-side: top;
clear: none;
clip: auto;
color: inherit;
columns: auto;
column-count: auto;
column-fill: balance;
column-gap: normal;
column-rule: medium none currentColor;
column-span: 1;
column-width: auto;
content: normal;
counter-increment: none;
counter-reset: none;
cursor: auto;
direction: ltr;
display: inline;
empty-cells: show;
float: none;
font: normal normal normal normal medium normal sans-serif;
height: auto;
hyphens: none;
left: auto;
letter-spacing: normal;
line-height: normal;
list-style: disc outside none;
margin: 0;
max-height: none;
max-width: none;
min-height: 0;
min-width: 0;
opacity: 1;
orphans: 0;
outline: medium none invert;
overflow: visible;
overflow-x: visible;
overflow-y: visible;
padding: 0;
page-break-after: auto;
page-break-before: auto;
page-break-inside: auto;
perspective: none;
perspective-origin: 50% 50%;
position: static;
right: auto;
tab-size: 8;
table-layout: auto;
text-align: inherit;
text-align-last: auto;
text-decoration: none solid currentColor;
text-indent: 0;
text-shadow: none;
text-transform: none;
top: auto;
transform: none;
transform-origin: 50% 50% 0;
transform-style: flat;
transition: none;
unicode-bidi: normal;
vertical-align: baseline;
visibility: visible;
white-space: normal;
widows: 0;
width: auto;
word-spacing: normal;
z-index: auto;
all: unset;
}
Options
reset
Takes string
.
Describes what subset of rules should be unseted.
Posible subsets: all
, inherited
.
Default value: 'all'
.
Usage
postcss([ require('postcss-all-unset')({
reset: 'inherited' // reset only inherited rules
}) ])
See PostCSS docs for examples for your environment.