Removing the user agent (default) CSS from most elements is usually a good idea. This has long been done by "universal" resets or things like the Eric Meyer Reset. I think the best option today is Normalize.css.

One way to explain it is that Normalize does both more and less than a reset. It does more in that it covers more browsers than old school resets did, fixing modern issues as well as legacy issues. It does less in that it leaves styling alone that is already consistent across browsers. For example, it leaves header tags bold because that's already consistant across browsers and is likely something you want to have anyway.

Comments

  1. User Avatar
    Nelson Hereveri
    Permalink to comment#

    Have you test Alexander Farkas JS to enable use of HTML5 sectioning elements in legacy Internet Explorer?
    Someone who can comment on that? Thanks in advance!

    • User Avatar
      Chris Coyier
      Permalink to comment#

      That’s a great thing. I might actually need to think about using it, but I’m not quite sure. The big thing it enables is for you to style HTML5 elements. e.g. section { background: red; }. Honestly I try and stay away from that as much as I can (styling generic blocks), using more specific classes instead. I bet there are some edge cases of me doing direct element styling though, I’d have to do a CSS audit and find them.

  2. User Avatar
    Paul Ciccone
    Permalink to comment#

    I’m really enjoying this series so far Chris. It’s nice to follow a pro step by step through the entire process. Keep up the good work!

  3. User Avatar
    Ryan Martin
    Permalink to comment#

    I just got started with Sublime Text 2, but notice your SCSS file is able to use the SCSS extension.

    I don’t have SCSS option from my Current Extension? How/where do I add this?

    Thanks!

  4. User Avatar
    Amit
    Permalink to comment#

    I was wondering Chris – if I am about to use a starter theme like underscores (_s) for example would you still recommend using normalize or better using the CSS that the starter theme comes with ? thanks

  5. User Avatar
    Amit
    Permalink to comment#

    Ah. Just realize normalize is actually part of _S ;-)

Submit a Comment

Posting Code

You may write comments in Markdown. This makes code easy to post, as you can write inline code like `<div>this</div>` or multiline blocks of code in triple backtick fences (```) with double new lines before and after.

Code of Conduct

Absolutely anyone is welcome to submit a comment here. But not all comments will be posted. Think of it like writing a letter to the editor. All submitted comments will be read, but not all published. Published comments will be on-topic, helpful, and further the discussion or debate.

Want to tell us something privately?

Feel free to use our contact form. That's a great place to let us know about typos or anything off-topic.

icon-closeicon-emailicon-linkicon-logo-staricon-menuicon-searchicon-staricon-tag