A
A
alexx462020-02-19 16:59:27
css
alexx46, 2020-02-19 16:59:27

CSS Reset doesn't even reset the heading styles. How do you reset styles in create-react-app?

Hello guys! Please tell me how CORRECTLY to reset the styles? Googled, but found nothing intelligible. Connected @ import-normalize - also to no avail. Those. even the header margins are not reset....
+ I tried to connect via node_modules, it doesn't work(

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Sharomet, 2020-02-19
@sharomet

normalize - does not reset margin .
https://github.com/necolas/normalize.css/blob/mast...
If you need to reset margins, etc. then bootstrap is for you. but not all, include only bootstrap-reboot.scss - it resets everything you need and even more. + there are many interesting settings in _variables.scss
https://www.npmjs.com/package/bootstrap

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question