Skip to content

About ID specificity #9

Description

@mateuszkocz

Great stuff about CSS, as always. I've found a small issue, though. In the IDs section you've wrote:

An ID is 255 times more specific than a class [...]

That's only the case for IE and Fx. Chrome and Opera will require more ridiculous number of classes to actually beat an ID, so for the sake of being totally correct, you might want to change this part.

(Specificity tried on this pen)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions