<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/rails/tags/css</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 23 May 2013 23:23:16 GMT</pubDate>
<item>
<title>(Rails) Requiring javascript and CSS in Rails without directly injecting code into the HEAD element - sgtrock</title>
<link>http://snipplr.com/view/25493/requiring-javascript-and-css-in-rails-without-directly-injecting-code-into-the-head-element/</link>
<description><![CDATA[ <p>I used to directly inject javascript and CSS into my HEAD elements just like you see in all of the tutorials online and in books. Recently I decided to try a different approach, and I feel this is more in keeping with the ruby and rails "declaration" syntax. It has the added benefit of promoting unobtrusive javascript coding and factoring out page-specific CSS into its own file.</p> ]]></description>
<pubDate>Sun, 27 Dec 2009 00:35:18 GMT</pubDate>
<guid>http://snipplr.com/view/25493/requiring-javascript-and-css-in-rails-without-directly-injecting-code-into-the-head-element/</guid>
</item>
<item>
<title>(Rails) Requiring javascript and CSS in Rails without directly injecting code into the HEAD element - sgtrock</title>
<link>http://snipplr.com/view/25492/requiring-javascript-and-css-in-rails-without-directly-injecting-code-into-the-head-element/</link>
<description><![CDATA[ <p>I used to directly inject javascript and CSS into my HEAD elements just like you see in all of the tutorials online and in books. Recently I decided to try a different approach, and I feel this is more in keeping with the ruby and rails "declaration" syntax. It has the added benefit of promoting unobtrusive javascript coding and factoring out page-specific CSS into its own file.</p> ]]></description>
<pubDate>Sun, 27 Dec 2009 00:35:17 GMT</pubDate>
<guid>http://snipplr.com/view/25492/requiring-javascript-and-css-in-rails-without-directly-injecting-code-into-the-head-element/</guid>
</item>
<item>
<title>(Rails) Using a CSS class statement in a link_to tag - tonic</title>
<link>http://snipplr.com/view/7923/using-a-css-class-statement-in-a-linkto-tag/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 19 Aug 2008 07:33:01 GMT</pubDate>
<guid>http://snipplr.com/view/7923/using-a-css-class-statement-in-a-linkto-tag/</guid>
</item>
</channel>
</rss>