Skip to content

Instantly share code, notes, and snippets.

@demsone
demsone / csscodes
Created August 11, 2013 07:26
10 CSS selectors you shouldn’t code without
*
The * selector may be the one you remember most easily but it’s often underused. What it does is style everything on the page and it’s great for creating a reset and also for creating some page defaults like the font family and size you wish to have.
* {
margin: 0;
padding: 0;
font-family: helvetica, arial, sans-serif;
font-size: 16px;
}