diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-10-14 15:58:02 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-10-14 15:58:02 +0800 |
| commit | fee47f6414cc3ae9a88f3ee0ed20f1d6f2d9f556 (patch) | |
| tree | 2b99dd57fc676a3819ef3cc46ac43df0043c2bb3 /node_modules/postcss-hexrgba/README.md | |
| parent | 0379526e20e1ff212df23e6326741aa9c06df204 (diff) | |
added plugin from postcss: postcss-fixes rucksack-css
Diffstat (limited to 'node_modules/postcss-hexrgba/README.md')
| -rw-r--r-- | node_modules/postcss-hexrgba/README.md | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/node_modules/postcss-hexrgba/README.md b/node_modules/postcss-hexrgba/README.md new file mode 100644 index 00000000..b43e2da4 --- /dev/null +++ b/node_modules/postcss-hexrgba/README.md @@ -0,0 +1,49 @@ +# PostCSS HexRGBA +[![NPM version][npm-badge]][npm-url] [![Downloads][downloads-badge]][npm-url] [![Build Status][travis-badge]][travis-url] + +[PostCSS][PostCSS] plugin that adds shorthand hex methods to rbga() values. + +_Part of [Rucksack - CSS Superpowers](http://simplaio.github.io/rucksack)_ + +**Input** + +```css +.foo { + color: rgba(#0fab53, 0.8) +} + +.bar { + background: linear-gradient(rgba(#fff, .1), rgba(#fff, .2)); +} +``` + +**Output** + +```css +.foo { + color: rgba(15,171,83, 0.8) +} + +.bar { + background: linear-gradient(rgba(255,255,255, .1), rgba(255,255,255, .2)); +} +``` + +## Usage + +```js +postcss([ require('postcss-hexrgba') ]) +``` + +See [PostCSS][PostCSS] docs for examples for your environment. + +*** + +MIT © [Sean King](https://twitter.com/seaneking) + +[npm-badge]: https://badge.fury.io/js/postcss-hexrgba.svg +[npm-url]: https://npmjs.org/package/postcss-hexrgba +[downloads-badge]: https://img.shields.io/npm/dm/postcss-hexrgba.svg +[travis-badge]: https://travis-ci.org/seaneking/postcss-hexrgba.svg?branch=master +[travis-url]: https://travis-ci.org/seaneking/postcss-hexrgba +[PostCSS]: https://github.com/postcss/postcss |
