Pregunta

I read stylesheets of facebook and Google and i noticed that class names used in css styles are some random letters and numbers? can we convert all css classes names to some random letters after developing web page? how they did it? is there any tool for doing this?

¿Fue útil?

Solución

I believe the answer you're looking for is the same one given here:

Google uses something called the Google Web Toolkit (or simply GWT) to compile Java "applications" into their Javascript/HTML/CSS counterparts. GWT was used for GMail and Google Wave and my assumption is that it was also used for G+.

The GWT "compiler" (CS purists would never call GWT a compiler but the term fits) programatically names Javascript functions, CSS classes, HTML form IDs, etc. so they are almost never something legible.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top