Advertisement
Guest User

Untitled

a guest
Feb 19th, 2020
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.70 KB | None | 0 0
  1. @import "table";
  2.  
  3. header {
  4.   height: 80px;
  5.   background: linear-gradient(-135deg, white, yellow, red, green, black);
  6.   color: white;
  7.   width: 100px;
  8.   //transition: width 2s, height .5s;
  9.   transition: width 2s 1s linear;
  10.   /*transition-property: width;
  11.   transition-duration: 2s;
  12.   transition-delay: 2s;
  13.   transition-timing-function: linear;*/
  14.  
  15.   &:hover {
  16.     width: 100%;
  17.     color: black;
  18.     height: 180px;
  19.   }
  20.  
  21.   display: flex;
  22.  
  23.   button.active {
  24.     border-color: blue;
  25.   }
  26.  
  27.   div {
  28.     text-align: center;
  29.   }
  30.  
  31.   a {
  32.     text-decoration: none;
  33.     color: white;
  34.     transition: color 5s;
  35.     &:hover {
  36.       color: black;
  37.       text-decoration: underline;
  38.     }
  39.   }
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement