Working on a React project using Webpack. Adding some styles in style.css and importing into component with import style from \'./style.css\';. Elements without
While Kyle's answer works, a better solution would be to rename the css file as style.global.css and import it with import './style.global.css' and specify the class name like normal html. this works better for when you want to append different class names at run time