githubEdit

PostCSS Initial

CSS Standard Statusarrow-up-right Build Statusarrow-up-right NPM Modulearrow-up-right David DMarrow-up-right

PostCSSarrow-up-right plugin to fallback initial keyword. Very useful in combination with postcss-autoresetarrow-up-right.

a {
  animation: initial;
  background: initial;
  white-space: initial;
}
p {
  background: url(/img1.png),
              url(/img2.png);
  background-repeat: initial no-repeat
}

'Can I use' tablearrow-up-right

Killer feature!

Universal reset from future css!

Options

reset

Takes string. Describes what subset of rules should be unsetted with all property (to reduce code weight). Possible subsets: all, inherited. Default value: 'all'.

replace

Takes boolean. Replace the initial with the fallback instead of adding it. Default value: false.

Usage

See PostCSSarrow-up-right docs for examples for your environment.

Last updated