No Description

fancy.css 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. @import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
  2. *{
  3. margin: 0;
  4. padding: 0;
  5. box-sizing: border-box;
  6. font-family: 'Poppins', sans-serif;
  7. }
  8. html,body{
  9. display: grid;
  10. height: 100%;
  11. width: 100%;
  12. place-items: center;
  13. background: linear-gradient(315deg, #000000 100%, #d7e1ec 74%);
  14. }
  15. .wrapper .button{
  16. display: inline-block;
  17. height: 60px;
  18. width: 60px;
  19. float: none;
  20. margin: 0 190px;
  21. overflow: hidden;
  22. background: #fff;
  23. border-radius: 50px;
  24. cursor: pointer;
  25. box-shadow: 0px 10px 10px rgba(0,0,0,0.1);
  26. transition: all 0.3s ease-out;
  27. }
  28. .wrapper .button:hover{
  29. width: 200px;
  30. }
  31. .wrapper .button .icon{
  32. display: inline-block;
  33. height: 60px;
  34. width: 60px;
  35. text-align: center;
  36. border-radius: 50px;
  37. box-sizing: border-box;
  38. line-height: 60px;
  39. transition: all 0.3s ease-out;
  40. }
  41. .wrapper .button:nth-child(1):hover .icon{
  42. background: #000000;
  43. }
  44. .wrapper .button:nth-child(2):hover .icon{
  45. background: #000000;
  46. }
  47. .wrapper .button:nth-child(3):hover .icon{
  48. background: #000000;
  49. }
  50. .wrapper .button:nth-child(4):hover .icon{
  51. background: #000000;
  52. }
  53. .wrapper .button:nth-child(5):hover .icon{
  54. background: #000000;
  55. }
  56. .wrapper .button .icon i{
  57. font-size: 25px;
  58. line-height: 60px;
  59. transition: all 0.3s ease-out;
  60. }
  61. .wrapper .button:hover .icon i{
  62. color: #fff;
  63. }
  64. .wrapper .button span{
  65. font-size: 20px;
  66. font-weight: 500;
  67. line-height: 60px;
  68. margin-left: 10px;
  69. transition: all 0.3s ease-out;
  70. }
  71. .wrapper .button:nth-child(1) span{
  72. color: #000000;
  73. }
  74. .wrapper .button:nth-child(2) span{
  75. color: #000000;
  76. }
  77. .wrapper .button:nth-child(3) span{
  78. color: #000000;
  79. }
  80. .wrapper .button:nth-child(4) span{
  81. color: #000000;
  82. }
  83. .wrapper .button:nth-child(5) span{
  84. color: #000000;
  85. }