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

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -