It’s an amazingly simple, yet unbelievably useful, piece of CSS code that will save you loads of time, particularly on complex grid designs:

*{
padding: 0; margin: 0;
}

What this does, as you can probably tell, is set the padding and margin styles of all elements (*) to zero. This is useful because a lot of elements — like the body tag, headers, lists and paragraphs — have default values for padding and margins, and applying this snippet gives you a blank slate. That means more control over how everything will look, as well as save a lot of time (and bandwidth) if you’re like me and use lists for menu items more often than lists for, well, lists.

Popularity: 34% [?]