Free Beautiful Css templates, Web designer tricks from expert
document.documentElement.className = "js"
This adds a class to the root <html>, so you could (for example) do something like hide a <div> only when JavaScript is enabled.
.js div#id { display: none; }
No comments:
Post a Comment