DEV Community

loading...

Discussion on: My Misconceptions about the Universal Selector in CSS

Collapse
_adrian_e_ profile image
Adrian E.

I avoid the global selector. In the past I made something like

* {
padding:0;
margin:0;
}

Now I use body and have the wished effect.