Advertisement
Guest User

krYSIA LUBI W KUCIAPKE

a guest
Nov 19th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.12 KB | None | 0 0
  1. .button {
  2.     position: relative;
  3.     background-color: #4CAF50;
  4.     border: none;
  5.     font-size: 28px;
  6.     color: #FFFFFF;
  7.     padding: 20px;
  8.     width: 200px;
  9.  
  10.     transition-duration: 0.4s;
  11.         text-decoration: none;
  12.     overflow: hidden;
  13.     cursor: pointer;
  14. }
  15.  
  16.  .button:after {
  17.     content: "";
  18.     background: #90EE90;
  19.     display: block;
  20.     position: absolute;
  21.     padding-top: 300%;
  22.     padding-left: 350%;
  23.     margin-left: -20px!important;
  24.     margin-top: -120%;
  25.     opacity: 0;
  26.     transition: all 0.8s
  27. }
  28.  
  29. .button:active:after {
  30.     padding: 0;
  31.     margin: 0;
  32.     opacity: 1;
  33.     transition: 0s
  34. }
  35. .button:hover {
  36.     box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
  37. }
  38.  
  39. .button:hover span {
  40.   padding-right: 25px;
  41. }
  42.  
  43. .button:hover span:after {
  44.   opacity: 4;
  45.   right: 0;
  46. }
  47.  
  48. .button span {
  49.   cursor: pointer;
  50.   display: inline-block;
  51.   position: relative;
  52.   transition: 0.5s;
  53. }
  54. .button span:after {
  55.   content: '\00bb';
  56.   position: absolute;
  57.   opacity: 0;
  58.   top: 0;
  59.   right: -20px;
  60.   transition: 0.5s;
  61. }
  62.  
  63. .center
  64. {
  65. text-align: center;
  66. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement