Guest User

Untitled

a guest
Jul 17th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.30 KB | None | 0 0
  1. .container {
  2. display: -webkit-box;
  3. display: -webkit-flex;
  4. display: -ms-flexbox;
  5. -webkit-box-pack: center;
  6. -webkit-justify-content: center;
  7. -ms-flex-pack: center;
  8. justify-content: center;
  9. align-item: center;
  10. display: flex;
  11. }
  12.  
  13. .btn-block {
  14. -webkit-justify-content: space-around;
  15. -ms-flex-pack: distribute;
  16. justify-content: space-around;
  17. -webkit-box-sizing: border-box;
  18. box-sizing: border-box;
  19. display: -webkit-box;
  20. display: -webkit-flex;
  21. display: -ms-flexbox;
  22. display: flex;
  23. width: 30%;
  24. padding-top: 30px;
  25. }
  26.  
  27. .btn {
  28. background-color: transparent;
  29. -webkit-transition: all 0.2s ease-out;
  30. -o-transition: all 0.2s ease-out;
  31. transition: all 0.2s ease-out;
  32. font-family: arial, monospace;
  33. border: 1px solid #00aaff;
  34. position: relative;
  35. padding: 10px 15px;
  36. color: #00aaff;
  37. cursor: pointer;
  38. overflow: hidden;
  39. display: block;
  40. font-size: 14px;
  41. width: auto;
  42. text-decoration: none;
  43. font-weight: 600;
  44. border-radius: 3px;
  45. }
  46.  
  47. .btn::before,
  48. .btn::after {
  49. -webkit-transition: all 0.2s ease-out;
  50. -o-transition: all 0.2s ease-out;
  51. transition: all 0.2s ease-out;
  52. position: absolute;
  53. background-color: #46c3ff;
  54. width: 100%;
  55. height: 100%;
  56. left: -100%;
  57. opacity: 0.5;
  58. top: 0;
  59. z-index: -1;
  60. content: '';
  61. }
  62.  
  63. .btn::after {
  64. -webkit-transition-delay: 0.2s ease-out;
  65. -o-transition-delay: 0.2s ease-out;
  66. transition-delay: 0.2s ease-out;
  67. opacity: 1;
  68. }
  69.  
  70. .btn:hover::before,
  71. .btn:hover::after {
  72. -webkit-transition: all 0.2s ease-out;
  73. -o-transition: all 0.2s ease-out;
  74. transition: all 0.2s ease-out;
  75. left: 0;
  76. }
  77.  
  78. .btn:hover {
  79. color: #ffffff;
  80. }
  81.  
  82. .btn:active {
  83. background-color: #0096e1;
  84. color: #ffffff;
  85. }
Add Comment
Please, Sign In to add comment