0 votes
in ReactJS by

How do you apply vendor prefixes to inline styles in React?

1 Answer

0 votes
by

React does not apply vendor prefixes automatically. You need to add vendor prefixes manually.

<div style={{
  transform: 'rotate(90deg)',
  WebkitTransform: 'rotate(90deg)', // note the capital 'W' here
  msTransform: 'rotate(90deg)' // 'ms' is the only lowercase vendor prefix
}} />

Related questions

0 votes
asked Jan 31, 2021 in ReactJS by Robindeniel
0 votes
asked Jan 30, 2021 in ReactJS by rajeshsharma
...