Advertisement
bootleg64

Flex Cards Template

Aug 3rd, 2022 (edited)
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.99 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3.     <head>
  4.         <meta charset="utf-8">
  5.         <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6.         <title>Title</title>
  7.         <meta name="description" content="content">
  8.         <meta name="viewport" content="width=device-width, initial-scale=1">
  9.         <style>
  10.             @import url('https://fonts.googleapis.com/css2?family=Pirata-One&display=swap');
  11.             body {
  12.             background: #FCE327;
  13.             font-family: sans-serif;
  14.             margin: 0px;
  15.             }
  16.             /* header */
  17.             header {
  18.                 background-color: #F827FB;
  19.                 text-align: center;
  20.                 color: #FCE327;
  21.                 text-shadow: black 2px 2px;
  22.  
  23.             }
  24.             header::before {
  25.                 content: "Title";
  26.                 font-family: 'Pirata One', sans-serif;
  27.                 font-size: 48pt;
  28.             }
  29.             /* container */
  30.             #container {
  31.                 margin: 10px;
  32.                 text-align: center;
  33.             }
  34.             /* items */
  35.             .item {
  36.                 font-family: 'Pirata One', 'Arial', sans-serif;
  37.                 background-color: #ebe9d7;
  38.                 display: inline-block;
  39.                 margin: 10px;
  40.                 height: 250px;
  41.                 width: 250px;
  42.                 border-radius: 5px;
  43.                 border: outset #23F2FB 5px;
  44.             }
  45.             .item h1 {
  46.                 width:100%;
  47.                 margin: 0px;
  48.                 background: #23F2FB;
  49.             }
  50.             .item:hover {
  51.                 border: inset #23F2FB 5px;
  52.             }
  53.             /* footer */
  54.             footer {
  55.                 font-size: small;
  56.                 color: #F827FB;
  57.                 text-align: center;
  58.             }
  59.             footer a {
  60.                 color: gray;
  61.             }      
  62.         </style>
  63.     </head>
  64.     <body>
  65.         <header> </header>
  66.         <div id="container">
  67.             <div class="item"
  68.            style="background: url('#IMG'); background-size: 250px;">
  69.                 <h1>item 1</h1>
  70.             </div>
  71.             <div class="item"
  72.            style="background: url('#IMG'); background-size: 250px;">
  73.                 <h1>item 2</h1>
  74.             </div>
  75.             <div class="item"
  76.            style="background: url('#IMG'); background-size: 250px;">
  77.                 <h1>item 3</h1>
  78.             </div>
  79.             <div class="item"
  80.            style="background: url('#IMG'); background-size: 250px;">
  81.                 <h1>item 4</h1>
  82.             </div>
  83.             <div class="item"
  84.            style="background: url('#IMG'); background-size: 250px;">
  85.                 <h1>item 5</h1>
  86.             </div>
  87.             <div class="item"
  88.            style="background: url('#IMG'); background-size: 250px;">
  89.                 <h1>item 6</h1>
  90.             </div>
  91.  
  92.         </div>
  93.        
  94.         <footer>copyright information.</footer>
  95.     </body>
  96. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement