Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .col-xs-12 {
- width: 50%;
- }
- var next = $(this).next();
- if (!next.length) {
- next = $(this).siblings(':first');
- }
- next.children(':first-child').clone().appendTo($(this));
- for (var i=0;i<2;i++) {
- next=next.next();
- if (!next.length) {
- next = $(this).siblings(':first');
- }
- next.children(':first-child').clone().appendTo($(this));
- }
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement