Today in foreign blogs there was an interesting news about the unusual behavior of browsers: the other day, Chris Coyier, the author of the site css-tricks.com,
showed how a class can be given higher priority than id. You just need to apply 256 classes to the object!
Why does this work?
In Firefox and Chrome, the source code that displays the classes is stored in
8-bit strings , respectively, 256 elements are out of bounds. Opera has 16-bit strings, so 65536 classes are required.
Similarly,
256 nested divs can take precedence over class.