bro is there any normalize css or a starting point of css for index.html in react ?
i stylized my componnet but deleted my index.html files is there any sane defaults for index.html in react pls
9 Replies
actually the problem is this
i am using mantine component library
and there is something called center which centers divs vertically and holizontally
but am unable to
this is the component
pls someone help me
You deleted your index.html file? How are you rendering things then?
My guess is the
body
needs a height... right now, it's centered, but the parent has no height.
I don't know what maw={300}
is doing either though... 🤔now i gave index.css the body and App.css the root styles cuz i have seen this when i initilized another crm
even then its not working