i have a div in my react component and im importing some class name from a class css file, but the class name is not getting integrated to the main
import './Layout.css';
Then use it like a normal CSS
You can also use your classes as objects with this format:
In your CSS file: Wrap your classes and id's with :local(.className)
:local(.className)
Example :local(.Content) { width: 100px; }
:local(.Content) { width: 100px; }
In your React Component: import classes from './stylesheet.css'
import classes from './stylesheet.css'