Mirror: CSS prefixing helpers in less than 1KB 馃寛
1# `tiny-css-prefixer`
2
3**Bare essentials CSS prefixing helpers in less than 1KB 馃寛**
4
5[](https://www.npmjs.com/package/tiny-css-prefixer)
6[](https://unpkg.com/tiny-css-prefixer)
7
8Currently supports prefixing properties for most browsers as it makes sense.
9[See `SUPPORT.md` for more information on which prefixes and transformations have been omitted.](./SUPPORT.md)
10
11The API is fairly straightforward and only consists of two functions, `prefixProperty` and `prefixValue`.
12
13```js
14prefixProperty('margin'); // ['margin']
15prefixProperty('appearance'); // ['appearance', '-moz-appearance', '-webkit-appearance']
16
17prefixValue('color', 'palevioletred'); // 'palevioletred'
18prefixValue('position', 'sticky'); // '-webkit-sticky, sticky'
19```