Advertisement
maciej1993

style.css

Apr 27th, 2020
390
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.25 KB | None | 0 0
  1.  
  2. *
  3. {
  4.   margin: 0;
  5.    padding: 0;
  6.    box-sizing: border-box;
  7.    font-family: Arial, Helvetica, sans-ser
  8. }
  9.  
  10.   .body,html{
  11.       background: #01082c;
  12.         height: 10em;
  13.         display: flex;
  14.         align-items: center;
  15.         justify-content: center;
  16.         margin: auto;
  17.   }
  18.  
  19.   #clock h2
  20.   {
  21.    position: relative;
  22.    display: block;
  23.    color: #ffff;
  24.    text-align: center;
  25.    margin: 10px 0;
  26.    font-weight: 700;
  27.    text-transform: uppercase;
  28.    letter-spacing: 0,4em;
  29.    font-size: 0.8em;
  30.  
  31.   }
  32.  
  33.   #clock #time{
  34.     display: flex;
  35.     position: 0,5em;
  36.    
  37.  
  38.  
  39.   }
  40.  
  41.    #clock #time div span
  42.   {
  43.   position: relative;
  44.   display: block;
  45.   width: 100px;
  46.   height: 80;
  47.   background: #2196f3;
  48.   color: rgb(231, 226, 226);
  49.   font-weight: 300;
  50.   display: flex;
  51.   justify-content: center;
  52.   align-items: center;
  53.   font-size: 3em;
  54.   z-index: 10;
  55.   box-shadow: rgb(17, 16, 16);
  56.  
  57.  
  58.  
  59.   }
  60.  
  61.    #clock #time  div span:nth-child(2) {
  62.     height: 80px;
  63.     width: 500px;
  64.     font-size: 0.7em;
  65.     letter-spacing: 0.2em;
  66.     font-weight: 500;
  67.     z-index: 9;
  68.     box-shadow: none;
  69.     background:#ffff;
  70.     text-transform: uppercase;
  71.   }
  72.  
  73.  
  74.    #clock #time div:last-child span
  75.   {
  76.     background: #e60808;
  77.    
  78.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement