css - Google's crazy ID and class naming conventions -



css - Google's crazy ID and class naming conventions -

i playing around firebug , editing gmail's css file, , wanted edit button, div id button :rj. css not allow colons in —and starting as—id , class names. guess advanced trickery. i'm not sure if it's consistent each user, fwiw, id "search mail" button @ top of page.

does know doing , how doing it?

ids used quite strict on allowed, not much classes. html5, however, has lessened lot of restrictions on id values.

here's article on what's allowed ids , classes in html5: http://mathiasbynens.be/notes/html5-id-class

it's plenty create head hurt.

edit:

to address more of question why google using seemingly random id, i'm sure ids , classes using create perfect sense programmers.

css gmail

Comments

Popular posts from this blog

java - How to pass parameters between Request-Scoped Controllers? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -