Hadi1989

Untitled

Sep 20th, 2018
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.96 KB | None | 0 0
  1. @import url('https://fonts.googleapis.com/css?family=Roboto+Mono');
  2. body{
  3.     margin: 0;
  4.     padding: 0;
  5.     font-family: 'Roboto Mono', !important;
  6. }
  7.  
  8. section{
  9.     width: 100%;
  10.     height: 100vh;
  11.     box-sizing: border-box;
  12.     padding: 140px 0;
  13.     background: #262626;
  14. }
  15. .card{
  16.     position: relative;
  17.     max-width: 300px;
  18.     height: auto;
  19.     border-radius: 15px;
  20.     margin: 0 auto;
  21.     padding: 40px 20px;
  22.     box-shadow: 0 10px 15px
  23.     transition: .5s;
  24.     overflow: hidden;
  25. }
  26. .card:hover{
  27.     transform: scale(1.1);
  28. }
  29. .col-sm-4:nth-child(1) .card,
  30. .col-sm-4:nth-child(1) .card .tittle .fa
  31. {
  32.     background:  linear-gradient(-45deg, #f403d1, #64b5f6);
  33. }
  34. .col-sm-4:nth-child(2) .card,
  35. .col-sm-4:nth-child(2) .card .tittle .fa
  36. {
  37.     background:  linear-gradient(-45deg, #ffec61, #f321d7);
  38. }
  39. .col-sm-4:nth-child(3) .card,
  40. .col-sm-4:nth-child(3) .card .tittle .fa
  41. {
  42.     background:  linear-gradient(-45deg, #24ff72, #9a4eff);
  43. }
  44. .card:before{
  45.     content: '';
  46.     position: absolute;
  47.     bottom: 0;
  48.     left: 0;
  49.     width: 100%;
  50.     height: 40%;
  51.     background: rgba(255,255,255,.1);
  52.     z-index: 1;
  53.     transform: skewY(-5deg) scale(1.5);
  54. }
  55.  
  56. .tittle .fa
  57. {
  58.     color: #fff;
  59.     font-size: 60px;
  60.     width: 100px;
  61.     height: 100px;
  62.     border-radius: 50%;
  63.     text-align: center;
  64.     line-height: 100px;
  65.     box-shadow: 0 10px 10px
  66. }
  67. .tittle h2{
  68.     position: relative;
  69.     margin: 20px 0 0;
  70.     padding: 0;
  71.     color: #fff;
  72.     font-size: 28px;
  73.     z-index: 2;
  74. }
  75. .price h4{
  76.     margin: 0;
  77.     padding: 20px 0;
  78.     color: #fff;
  79.     font-size: 60px;
  80. }
  81. .option{
  82.     position: relative;
  83.     z-index: 2;
  84. }
  85. .option{
  86.     margin: 0;
  87.     padding: 0;
  88. }
  89. .option ul li{
  90.     margin: 0 0 10px;
  91.     padding: 0;
  92.     list-style: none;
  93.     color: #fff;
  94.     font-size: 16px;
  95. }
  96. .card a{
  97.     position: relative;
  98.     z-index: 2;
  99.     background: #fff;
  100.     color: #262626;
  101.     width: 150px;
  102.     display: block;
  103.     border-radius: 40px;
  104.     text-align: center;
  105.     margin: 20px auto 0;
  106.     font-size: 16px;
  107.     cursor: pointer;
  108.     box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  109. }
  110. .card a:hover{
  111.     text-decoration: none;
  112.  
  113. }
Advertisement
Add Comment
Please, Sign In to add comment