Support for List Psuedo Elements In Safari and IE

/ Published in: jQuery
Save to your folder(s)

Adds classes so that You can use things like Last Child, Nth Child and basically whatever you what and whatever is supported by jquery

Copy this code and paste it in your HTML
  1. $(function(){
  2. $("#nav li:last-child").addClass('last-child')})


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.