Last change
on this file since 6a80231 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[6a3a178] | 1 | # vendors
|
---|
| 2 |
|
---|
| 3 | [![Build][build-badge]][build]
|
---|
| 4 | [![Downloads][downloads-badge]][downloads]
|
---|
| 5 | [![Size][size-badge]][size]
|
---|
| 6 |
|
---|
| 7 | <!--lint disable no-html-->
|
---|
| 8 |
|
---|
| 9 | List of (real<sup>†</sup>) vendor prefixes known to the web platform.
|
---|
| 10 | From [Wikipedia][wiki] and the [CSS 2.1 spec][spec].
|
---|
| 11 |
|
---|
| 12 | † — real, as in, `mso-` and `prince-` are not included because they are
|
---|
| 13 | not valid.
|
---|
| 14 |
|
---|
| 15 | ## Install
|
---|
| 16 |
|
---|
| 17 | [npm][]:
|
---|
| 18 |
|
---|
| 19 | ```sh
|
---|
| 20 | npm install vendors
|
---|
| 21 | ```
|
---|
| 22 |
|
---|
| 23 | ## Use
|
---|
| 24 |
|
---|
| 25 | ```js
|
---|
| 26 | var vendors = require('vendors')
|
---|
| 27 |
|
---|
| 28 | console.log(vendors)
|
---|
| 29 | ```
|
---|
| 30 |
|
---|
| 31 | Yields:
|
---|
| 32 |
|
---|
| 33 | ```js
|
---|
| 34 | [ 'ah',
|
---|
| 35 | 'apple',
|
---|
| 36 | 'atsc',
|
---|
| 37 | 'epub',
|
---|
| 38 | 'hp',
|
---|
| 39 | 'khtml',
|
---|
| 40 | 'moz',
|
---|
| 41 | 'ms',
|
---|
| 42 | 'o',
|
---|
| 43 | 'rim',
|
---|
| 44 | 'ro',
|
---|
| 45 | 'tc',
|
---|
| 46 | 'wap',
|
---|
| 47 | 'webkit',
|
---|
| 48 | 'xv' ]
|
---|
| 49 | ```
|
---|
| 50 |
|
---|
| 51 | ## License
|
---|
| 52 |
|
---|
| 53 | [MIT][license] © [Titus Wormer][author]
|
---|
| 54 |
|
---|
| 55 | <!-- Definitions -->
|
---|
| 56 |
|
---|
| 57 | [build-badge]: https://img.shields.io/travis/wooorm/vendors.svg
|
---|
| 58 |
|
---|
| 59 | [build]: https://travis-ci.org/wooorm/vendors
|
---|
| 60 |
|
---|
| 61 | [downloads-badge]: https://img.shields.io/npm/dm/vendors.svg
|
---|
| 62 |
|
---|
| 63 | [downloads]: https://www.npmjs.com/package/vendors
|
---|
| 64 |
|
---|
| 65 | [size-badge]: https://img.shields.io/bundlephobia/minzip/vendors.svg
|
---|
| 66 |
|
---|
| 67 | [size]: https://bundlephobia.com/result?p=vendors
|
---|
| 68 |
|
---|
| 69 | [npm]: https://docs.npmjs.com/cli/install
|
---|
| 70 |
|
---|
| 71 | [license]: license
|
---|
| 72 |
|
---|
| 73 | [author]: https://wooorm.com
|
---|
| 74 |
|
---|
| 75 | [wiki]: https://en.wikipedia.org/wiki/CSS_hack#Browser_prefixes
|
---|
| 76 |
|
---|
| 77 | [spec]: https://www.w3.org/TR/CSS21/syndata.html#vendor-keyword-history
|
---|
Note:
See
TracBrowser
for help on using the repository browser.