How do I apply vendor prefixes to inline styles in reactjs?

后端 未结 4 987
旧时难觅i
旧时难觅i 2020-12-05 04:08

CSS properties in React are not automatically added with their vendor prefixes.

For example, with:

4条回答
  •  情话喂你
    2020-12-05 04:40

    I don't have experience with react.js, but look at this js library from Lea Verou. It prefixes style direct in DOM.

    http://leaverou.github.io/prefixfree/

提交回复
热议问题