daily pastebin goal
56%
SHARE
TWEET

Untitled

a guest Apr 16th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .b-burger {}
  2. .b-burger__icon {
  3.     background-color: #fff;
  4.     height: 3px;
  5.     border-radius: 2px;
  6.     transition: transform .3s, opacity .3s;
  7. }
  8. .b-burger__icon:nth-child(1) {
  9.     transform: translate(0, -6px);
  10. }
  11. .b-burger__icon:nth-child(3) {
  12.     transform: translate(0, 6px);
  13. }
  14. .b-burger_active .b-burger__icon:nth-child(1) {
  15.     transform: translate(0, 3px) rotate(45deg);
  16. }
  17. .b-burger_active .b-burger__icon:nth-child(2) {
  18.     opacity: 0;
  19. }
  20. .b-burger_active .b-burger__icon:nth-child(3) {
  21.     transform: translate(0, -3px) rotate(-45deg)
  22. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top