css – Basic browser styles

Question:

What solution is currently popular for normalizing (bringing all browser styles to a single state) base browser styles during project development?

So far I have found three solutions:

  1. Do everything yourself, so that you know exactly how everything will be arranged.

  2. Use – normalize.css

  3. Use – reset.css

Also, I drew attention to some sites of large projects, and noticed that they do not use options 2 and 3.

Answer:

I agree with Oceinic, everything is already in popular frames, and in general browsers have long begun to adhere to uniform standards, at least they strive. But in essence, I will answer that points 2 and 3 are very worth applying:

  • if there are vectors, fonts and svg all sorts.
  • if the layout is for mobile browsers.

It is important to understand what you want to achieve. In general, CSS resets override user agent styles and return many elements to their "de-styled" state, some kind of flat foundation on which to safely build. However, you then need to style most of the elements before you can build with them. Ask questions: – Do you need it? – Do you make your own bootstrap? Not? Then use ready-made frames, it will save you a lot of nerves and time.

Scroll to Top