artemsemkin

Untitled

Oct 16th, 2020
1,280
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* Rhye burger button 2 lines */
  2.  
  3. .header__burger-line:nth-of-type(1) {
  4.   top: 13px;
  5.   transform: scaleX(1);
  6. }
  7.  
  8. .header__burger-line:nth-of-type(2) {
  9.   display: none;
  10. }
  11.  
  12. .header__burger-line:nth-of-type(3) {
  13.   bottom: 13px;
  14.   transform: scaleX(1);
  15. }
  16.  
  17. .header__burger_opened .header__burger-line:nth-of-type(1), .header__burger_opened:hover .header__burger-line:nth-of-type(1) {
  18.   transform: scaleX(1) rotate(45deg) translate(9px,20px);
  19. }
  20.  
  21. .header__burger_opened .header__burger-line:nth-of-type(3), .header__burger_opened:hover .header__burger-line:nth-of-type(3) {
  22.   transform: scaleX(1) rotate(-45deg) translate(9px,-21px);
  23. }
RAW Paste Data