RubyFlow The Ruby and Rails community linklog

“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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in