Advertisement
Guest User

Untitled

a guest
Oct 20th, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. <script>
  2. $('li>label').click(function(e){ $('.arrow').toggleClass('arrow-down'); });
  3. </script>
  4.  
  5. <style>
  6. .arrow {
  7.  
  8. background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 15 25.5' width='15' height='25' fill='%23fd4f00' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 25.5L0 22l8.1-9.3L0 3.4 4 0l11 12.7L4 25.5z'/%3E%3C/svg%3E");
  9. height: 25.5px;
  10. fill: #c20430;
  11. display: block;
  12. width: 15px;
  13. height: 25px;
  14. position: absolute;
  15. right: 10;
  16. top: 25.5;
  17. margin-top: -10px
  18. -moz-transition: all 0.75s ease;
  19. -webkit-transition: all 0.75s ease;
  20. -o-transition: all 0.75s ease;
  21. transition: all 0.75s ease;
  22.  
  23. }
  24.  
  25.  
  26. .arrow-down {
  27.  
  28. -moz-transition: all 0.75s ease;
  29. -webkit-transition: all 0.75s ease;
  30. -o-transition: all 0.75s ease;
  31. transition: all 0.75s ease;
  32. transform: rotate(90deg);
  33.  
  34. }
  35. </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement