postcss-bg

A PostCSS plugin to replace `bg:` with `background:`

Usage no npm install needed!

<script type="module">
  import postcssBg from 'https://cdn.skypack.dev/postcss-bg';
</script>

README

postcss-bg Build Status

A PostCSS plugin to replace bg with background.

Example

Input:

.blackbriar {
  bg: #666;
}

Output:

.blackbriar {
  background: #666;
}

Usage

Install:

npm i -D postcss-bg

Then include the plugin:

postcss([require('postcss-bg')(options)])

See PostCSS docs for examples for your environment.

Licence

Released under the MIT license.