STYLE SWITCHER

How to add div after each multiple of 5 using jquery in ul

$('ul li:nth-child(4n)').after('<li class="clear"></li>');

Recent Article

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  1. I enjoy you because of all of the hard work on this web site. Ellie loves managing investigations and it’s obvious why. I know all about the powerful form you produce worthwhile items through the blog and as well as cause participation from other ones about this article then our own simple princess is now starting to learn a lot. Take pleasure in the rest of the new year. You have been performing a wonderful job.

  • Keep your skills sharp, get informed.

    Subscribe to our mailing list and get interesting stuff and updates to your email inbox