CSS reset

In the last section, you learned about the power of a good text editor. In this section, we're going to use that text editor to explore something called a CSS reset. There's a lot of pieces to starting a website that need to be in place and are typically part of your website boilerplate. I call these pieces your "base layer". A big part of this base layer is the CSS reset. A reset allows you to eliminate browser inconsistencies with regard to default browser styling and eliminate all default browser styles in general. It allows you to more easily provide your handcrafted styles using CSS. In this section, we're going to first load in a CSS reset, then examine that reset and see what it's doing. Finally, we'll add to and customize ...

Get Mastering CSS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.