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

后端 未结 4 991
旧时难觅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:28

    You can use something like this:

    https://github.com/cgarvis/react-vendor-prefix

    to automatically vendor-prefix your style objects.

提交回复
热议问题