in React JS by
Q:

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
}} />
Click here to read more about React JS
Click here to read more about Insurance

Related questions

0 votes
asked Nov 26, 2019 in React JS by AdilsonLima
0 votes
asked Mar 4, 2020 in React JS by JackTerrance
0 votes
asked Nov 26, 2019 in React JS by AdilsonLima
0 votes
asked Jan 30 in React JS by rajeshsharma
0 votes
+1 vote
asked Mar 2, 2020 in React JS by RShastri
+1 vote
...