Advertisement
Guest User

Untitled

a guest
Jan 21st, 2018
103
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2.             jQuery("li.menu-item-has-children i.mobile-arrows").click(function() {
  3.                 jQuery(this).parent().find('ul:first').slideToggle(300);
  4.                 jQuery(this).parent().find('> .mobile-arrows').toggleClass('is-open');
  5.             });
  6. </script>
  7.  
  8. <style type="text/css">
  9. #mobile-menu .mobile-arrows.is-open {
  10.   -webkit-transform: rotate(180deg);
  11.       -ms-transform: rotate(180deg);
  12.           transform: rotate(180deg);
  13. }
  14. </style>
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement