
Description
inline-style-prefixer is a small, fast vendor prefixer for JavaScript style objects. It works at run time, so the styles you write as JavaScript objects get the browser prefixes they need before they are applied. It only adds a prefix when a property still needs one in the browser versions the README lists, which run from Chrome 55 and Firefox 52 to Safari 13, Edge 12 and IE 11. For browsers outside that list, it falls back to a default behavior. Properties such as border-radius are not prefixed at all, since no listed browser needs it. You install it from npm, and TypeScript typings are available through the DefinitelyTyped package. The README also links to usage guides, a data reference and an API reference, and it lists libraries that use it, including Aphrodite, Fela, Glamor, Material UI, styled-components and Styletron. The project is licensed under the MIT License.…
Highlights
- Adds vendor prefixes to JavaScript style objects
- Prefixes only where a listed browser needs them
- TypeScript typings available
- Small, fast run-time prefixer
Ratings & Reviews
No ratings yet
Be the first to rate inline-style-prefixer.
People also visit

react-css-modules
Seamless mapping of class names to CSS modules inside of React components
inline-style-prefixer FAQ
What is inline-style-prefixer?
A run-time vendor prefixer for JavaScript style objects, the kind used for inline styles in React and similar libraries.
Which browsers does it target?
The browser versions listed in the README, such as Chrome 55 and later, Firefox 52 and later, Safari 13 and later, and Edge 12 and later.
How do I install it?
Install it from npm. The README also shows a TypeScript setup using the @types package.
What license is it under?
The MIT License, as stated in the README. The documentation is under a Creative Commons license.
What are the best inline-style-prefixer alternatives?
Popular alternatives to inline-style-prefixer include style-it, react-css-modules and styled-components. See all inline-style-prefixer alternatives

















