Advertisement
Guest User

Untitled

a guest
Jun 21st, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.63 KB | None | 0 0
  1.  
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5.  
  6.     <link href="https://fonts.googleapis.com/css?family=Abril+Fatface|Rubik" rel="stylesheet">
  7.  
  8.     <title>Week 5 Exercise 1</title>
  9.  
  10.     <style>
  11.         body {margin:0;}
  12.  
  13.  
  14.         .Box_Header {
  15.             background-color: rgb(128,0,0);
  16.             color: white;
  17.             font-size: 30px;
  18.             font-family: 'Abril Fatface', cursive;
  19.             height: 60px;
  20.             text-align: center;
  21.             padding-top: 30px;
  22.             position: fixed;
  23.             top: 0px;
  24.             width: 100%;
  25.         }
  26.  
  27.         .card {
  28.             background-color: blue;
  29.             margin: 100px auto 20px auto;
  30.             width: 800px;
  31.             height: 300px;
  32.             border-top: 4px solid red;
  33.             border-bottom: 4px solid green;
  34.             border-radius: 20px;
  35.         }
  36.  
  37.         .card:first-of-type {
  38.             margin-top: 10px;
  39.             background-color: red;
  40.         }
  41.  
  42.         .Card_2 {
  43.             background-color: blue;
  44.             margin: 20px auto 20px auto;
  45.             width: 800px;
  46.             height: 300px;
  47.             border-top: 4px solid red;
  48.             border-bottom: 4px solid green;
  49.             border-radius: 20px;
  50.         }
  51.  
  52.         /*.Card_3 {
  53.             background-color: blue;
  54.             margin: 10px auto 10px auto;
  55.             width: 800px;
  56.             height: 300px;
  57.             border-top: 4px solid red;
  58.             border-bottom: 4px solid green;
  59.         }*/
  60.  
  61.         #Circle_1 {
  62.             position: fixed;
  63.             height: 80px;
  64.             width: 80px;
  65.             background-color: red;
  66.             border-radius: 50%;
  67.             bottom: 18px;
  68.             right: 30px;
  69.             box-shadow: 0px 8px 20px 0px black;
  70.            
  71.         }
  72.  
  73.  
  74.        
  75.  
  76.     </style>
  77. </head>
  78. <body>
  79.     <div class="Box_Header">My App!</div>
  80.  
  81.     <div class="card"></div>
  82.     <div class="card"></div>
  83.     <div class="card"></div>
  84.     <div class="card"></div>
  85.     <div class="Card_1"></div>
  86.     <div class="Card_1"></div>
  87.     <div id="Circle_1"></div>
  88.  
  89.  
  90. </body>
  91. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement