Advertisement
Guest User

css

a guest
Feb 18th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.67 KB | None | 0 0
  1. .hero-ramadhan {
  2.     background: linear-gradient(#3837371a, rgba(109, 8, 88, 0.73)), url(https://sharinghappiness.org/files/ramadhan2019/bg-landing-page.jpg);
  3.     background-size: cover;
  4.     background-attachment: fixed;
  5.     min-height: 100vh;
  6.  
  7.     .hero-headline {
  8.         margin-top: 8%;
  9.  
  10.         h1 {
  11.             line-height: 1.5em;
  12.         }
  13.  
  14.         h3 {
  15.             line-height: 1.5em;
  16.         }
  17.     }
  18.  
  19.     .btn--scroll-down {
  20.         cursor: pointer;
  21.         position: absolute;
  22.         bottom: 2em;
  23.         font-size: 1.7em;
  24.         left: 49%;
  25.         animation: bounce 2s infinite;
  26.     }
  27.  
  28.     .countdown {
  29.        
  30.         @media screen and (max-width: 48em){
  31.             display: none;
  32.         }
  33.     }
  34.  
  35.     .counter {
  36.         padding: 25px;
  37.         margin: 25px 0 15px 0;
  38.         // background-color: #000;
  39.         border-radius: 8px;
  40.         // box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  41.         min-height: 80px;
  42.         div {
  43.             display: inline-block;
  44.         }
  45.     }
  46.  
  47.     .project-name {
  48.         color: white;
  49.         font-size: 16pt;
  50.         margin: 5px 0;
  51.         text-align: center;
  52.     }
  53.  
  54.     .days,
  55.     .hours,
  56.     .minutes,
  57.     .seconds {
  58.         font-weight: 700;
  59.         color: white;
  60.         width: 25%;
  61.         float: left;
  62.         text-align: center;
  63.         .value {
  64.             display: block;
  65.             font-size: 36pt;
  66.             width: 100%;
  67.             margin-bottom: .3em;
  68.         }
  69.         span {
  70.             font-size: 8pt;
  71.             opacity: 0.8;
  72.             width: 100%;
  73.             display: block;
  74.         }
  75.     }
  76.     .hours::before,
  77.     .minutes::before,
  78.     .seconds::before {
  79.         content: ":";
  80.         float: left;
  81.         font-size: 20pt;
  82.         position: relative;
  83.         margin-top: 10px;
  84.         opacity: 0.7;
  85.         animation :pink 1s ease-in-out infinite;
  86.     }
  87. }
  88.  
  89. @keyframes bounce {
  90.     0%, 20%, 50%, 80%, 100% {
  91.       -webkit-transform: translateY(0);
  92.       -moz-transform: translateY(0);
  93.       -ms-transform: translateY(0);
  94.       -o-transform: translateY(0);
  95.       transform: translateY(0); }
  96.     40% {
  97.       -webkit-transform: translateY(-30px);
  98.       -moz-transform: translateY(-30px);
  99.       -ms-transform: translateY(-30px);
  100.       -o-transform: translateY(-30px);
  101.       transform: translateY(-30px); }
  102.     60% {
  103.       -webkit-transform: translateY(-15px);
  104.       -moz-transform: translateY(-15px);
  105.       -ms-transform: translateY(-15px);
  106.       -o-transform: translateY(-15px);
  107.       transform: translateY(-15px);
  108.     }
  109. }
  110.  
  111. @keyframes pink {
  112.     0% {
  113.     opacity:1;
  114.     }
  115.     50% {
  116.     opacity:0.5;
  117.     }
  118.     100% {
  119.       opacity: 1;
  120.     }
  121.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement