SHARE
TWEET

Untitled

a guest Oct 19th, 2019 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #cont {
  2.     background-color: #002147;
  3.     padding: 100px;
  4. }
  5.  
  6. .middle {
  7.     text-align: center;
  8. }
  9.  
  10. .btn2 {
  11.     display: inline-block;
  12.     width: 50px;
  13.     height: 50px;
  14.     background: #f1f1f1;
  15.     margin: 10px;
  16.     border-radius: 30%;
  17.     box-shadow: 0 5px 15px -5px #ecf0f1;
  18.     color: #3498db;
  19.     overflow: hidden;
  20.     position: relative;
  21. }
  22.  
  23. a.btn2:hover {
  24.     transform: scale(1.3);
  25.     color: #f1f1f1;
  26. }
  27.  
  28. .btn2 i {
  29.     line-height: 50px;
  30.     font-size: 20px;
  31.     transition: 0.2s linear;
  32. }
  33.  
  34. .btn2:hover i {
  35.     transform: scale(1.3);
  36.     color: #f1f1f1;
  37. }
  38.  
  39. .fa-facebook-f {
  40.     color: #3c5a99;
  41. }
  42.  
  43. .fa-twitter {
  44.     color: #1da1f2;
  45. }
  46.  
  47. .fa-instagram {
  48.     color: #e1306c;
  49. }
  50.  
  51. .fa-google {
  52.     color: #dd4b39;
  53. }
  54.  
  55. .fa-youtube {
  56.     color: #ff0000;
  57. }
  58.  
  59. .btn2::before {
  60.     content: "";
  61.     position: absolute;
  62.     width: 120%;
  63.     height: 120%;
  64.     background: #3498db;
  65.     transform: rotate(45deg);
  66.     left: -110%;
  67.     top: 90%;
  68. }
  69.  
  70. .btn2:hover::before {
  71.     animation: aaa 0.7s 1;
  72.     top: -10%;
  73.     left: -10%;
  74. }
  75.  
  76. @keyframes aaa {
  77.     0% {
  78.         left: -110%;
  79.         top: 90%;
  80.     }
  81.     50% {
  82.         left: 10%;
  83.         top: -30%;
  84.     }
  85.     100% {
  86.         left: -10%;
  87.         top: -10%;
  88.     }
  89. }
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