<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - EvanHahn</title>
<link>http://snipplr.com/users/EvanHahn/tags/detection</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 26 May 2013 15:47:09 GMT</pubDate>
<item>
<title>(HTML) Remove "no-js" class from html tag, add "js" class</title>
<link>http://snipplr.com/view/63895/remove-nojs-class-from-html-tag-add-js-class/</link>
<description><![CDATA[ <p>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://html5boilerplate.com/) puts `no-js` in the `` element and then uses [Modernizr](http://www.modernizr.com/) to replace it with `js`. If you don't want to use all of that stuff, this snippet does the same thing.</p> ]]></description>
<pubDate>Mon, 12 Mar 2012 10:06:48 GMT</pubDate>
<guid>http://snipplr.com/view/63895/remove-nojs-class-from-html-tag-add-js-class/</guid>
</item>
</channel>
</rss>