Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (16 sloc) 462 Bytes

Add vendor prefixes in the browser

This vendor prefixer knows which properties and values are supported in the current runtime and changes only what's required. The best thing is - you don't need to download all of them. Also, it is fast, because all checks are cached.


const styles = {
  container: {
    transform: 'translateX(100px)'

Compiles to:

.container-0 {
  transform: -webkit-translateX(100px);