I have been working on this app with css files for a while now and the latest one doesnt work at all for no reason ,the file is imported ,the id is correct,its in the same directory and it doesnt work.
heres the code for the component
import React from "react";
import "./allShows.css"
export default class allShows extends React.Component{
constructor() {
super();
}
render() {
return(
<React.Fragment>
<div id="2header">
dw
</div>
</React.Fragment>
)
}
}
and the css
#2header{
height: 100px;
background-color: #555353;
}
Any ideas?