How do you apply vendor prefixes to inline styles in React?
React does not apply vendor prefixes automatically. You need to add vendor prefixes manually.
<divstyle={{transform: 'rotate(90deg)',WebkitTransform: 'rotate(90deg)', // note the capital 'W' heremsTransform: 'rotate(90deg)', // 'ms' is the only lowercase vendor prefix}}/>
October 17, 2022
1675
Read more
What is React?
November 06, 2022
ReactJSHow to programmatically trigger click event in React?
November 06, 2022
ReactJS