Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Why Css-tricks.com has so many classes in the html tag element?

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #35478
    George
    Member

    While using a lot of “inspect this element” and reading lots of tutorials and ideas on the responsive design area…I bumped into great responsive websites that had strangely one thing in common.

    All of them had over 2 dozen of classes in the html tag. This approach has to do with responsive way of thinking or its irrelevant ?

    #91934
    Johnnyb
    Member

    Those classes are generated by modernizr. Modernizr checks whether certain CSS3/HTML5 features are supported by the browser and then adds the appropriate classes to the HTML tag.

    #91935
    chrisburton
    Participant

    @JohnnyB thanks

    #91975
    George
    Member

    oh good to know :-)

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.