Welcome To Snipplr
Everyone's Recent HTML Snippets Tagged class
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev 1 Next »
Add the "no-js" class to your topmost html element, so you can use CSS to style JavaScript-free pages. This snippet will then replace that tag with "js", allowing you to style pages with JavaScript.
The excellent [HTML5 Boilerplate](http://html5bo...
0
2301
posted 12 years ago by EvanHahn
« Prev 1 Next »