Will take all css in a page (either from linked stylesheet or from style tag) and will embed it in the style attribute for each refered element taking selector specificity and declarator order. Useful for html email: some clients (gmail, et all) won't render non inline styles. * Includes a Rack middleware for using with Rails, Sinatra, etc... * It takes into account selector specificity.
Gemfile gem 'inline-style', '~> 0.4'
install gem install inline-style -v 0.4