<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - smoothdzion</title>
<link>http://snipplr.com/users/smoothdzion/tags/first</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 24 May 2013 13:15:04 GMT</pubDate>
<item>
<title>(jQuery) jQuery - Add First and Last Class to LI</title>
<link>http://snipplr.com/view/26333/jquery--add-first-and-last-class-to-li/</link>
<description><![CDATA[ <p>Since :first-child and :last-child aren't compatible with all modern browsers I thought I'd post this snippet.  It make automating the class creation easier too instead of having to remember when typing up your HTML or creating logic in your programming.

Rename "first-item" and/or "last-item" to whatever class you want to use.  You can change the "li" part of the code to whatever element your want or even remove it altogether.</p> ]]></description>
<pubDate>Tue, 12 Jan 2010 15:20:16 GMT</pubDate>
<guid>http://snipplr.com/view/26333/jquery--add-first-and-last-class-to-li/</guid>
</item>
</channel>
</rss>