Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. .col-xs-12 {
  2.  
  3. width: 50%;
  4.  
  5. }
  6.  
  7. var next = $(this).next();
  8. if (!next.length) {
  9. next = $(this).siblings(':first');
  10. }
  11. next.children(':first-child').clone().appendTo($(this));
  12.  
  13. for (var i=0;i<2;i++) {
  14. next=next.next();
  15. if (!next.length) {
  16. next = $(this).siblings(':first');
  17. }
  18.  
  19. next.children(':first-child').clone().appendTo($(this));
  20. }
  21.  
  22. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement