“simple-useragent” gem - cleaner browser specific CSS targeting
“simple-useragent” gem - provides the ability to for cleaner browser specific CSS targeting*. For example, instead of the targeting IE7 with a CSS hack such as: *:first-child+html #content {height: 500px;} /* IE7 */
- you can now do this: .ie7 #content {height: 500px;}
Comments
A jQuery plugin in case you don’t use Rails: http://github.com/alexrabarts/jquery-platformselector
Thanks - updated the blog post to note the jQuery plugin.
Post a comment