Grow your CSS skills. Land your dream job.

Multiple style sheets

  • # July 20, 2011 at 4:13 am

    I understand it can be done, and the last referenced takes priority, but im wondering the affects it has. Will it slow down the site at all? Or since its such a small file any browser should have no trouble with it.

    Im mainly asking because I like sheets clean, but I do like having a reset. So i’d like to have the reset outside my main style sheet, but not sure if it is actually worth it or no.

    # July 20, 2011 at 4:16 am

    It means there are more requests to your server to download the additional style sheets. Try minimizing the reset so it hardly takes up any space at the top of your style sheet. That’s what I do.

    # July 20, 2011 at 4:20 am

    Then speaking of minimizing, i’ve always used

    header, section, footer, aside, nav, article, figure {display: block;}

    however, thats not needed with the html5shim is it?

    # July 20, 2011 at 4:38 am

    Nope.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".