Advertisement
lemansky

Untitled

Nov 5th, 2021
778
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5.53 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6.     <title>Document</title>
  7.     <style>
  8.         .items{
  9.             font-size:12px;
  10.             list-style-type: none;
  11.             margin:0px;
  12.             padding:0px;
  13.             display:flex;
  14.             flex-direction: row;
  15.         }
  16.         .item{
  17.             width:130px;
  18.             text-align:center;
  19.             /*height:365px;*/
  20.             padding:15px 11px 45px 11px;
  21.         }
  22.         .item:nth-of-type(1){
  23.             background:#a2d6d9;
  24.         }
  25.         .item:nth-of-type(2){
  26.             background:#f48871;
  27.         }
  28.         .item:nth-of-type(3){
  29.             background:#b9d694;
  30.         }
  31.         .item:nth-of-type(4){
  32.             background:#fae17c;
  33.         }
  34.         .item:nth-of-type(5){
  35.             background:#f6b56b;
  36.         }
  37.         .bg-darkblue{
  38.             background:#51a7ac;
  39.         }
  40.         .bg-firebrick{
  41.             background:#e8301d;
  42.         }
  43.         .bg-darkgreen{
  44.             background:#89b453;
  45.         }
  46.  
  47.         .bg-darkyellow{
  48.             background:#f6c640;
  49.         }
  50.         .bg-darkorange{
  51.             background:#f07f30
  52.         }
  53.         .item > span:nth-of-type(1){
  54.             padding:5px;
  55.             width:30px;
  56.             display:inline-block;
  57.             border-radius:20px;
  58.             box-shadow:0px 1px 2px 0px rgb(0 0 0 / 80%);
  59.         }
  60.         .item > span > img{
  61.             height:30px;
  62.         }
  63.         .item > h5{
  64.             text-transform: uppercase;
  65.             text-shadow: 0px 0.5px 1px rgba(0, 0, 0, 0.9);
  66.         }
  67.  
  68.         .item:nth-of-type(1) > h5{
  69.             color:#51a7ac;
  70.         }
  71.  
  72.         .item:nth-of-type(2) > h5{
  73.             color:#e8301d;
  74.         }
  75.  
  76.         .item:nth-of-type(3) > h5{
  77.             color:#89b453;
  78.         }
  79.  
  80.         .item:nth-of-type(4) > h5{
  81.             color:#f6c640;
  82.         }
  83.         .item:nth-of-type(5) > h5{
  84.             color:#f07f30;
  85.         }
  86.         .item > span:nth-of-type(2){
  87.             color:white;
  88.         }
  89.         .main{
  90.             background: black;
  91.             padding:20px 20px 15px 20px;
  92.             width:720px;
  93.         }
  94.         .subtitle{
  95.             text-align:center;
  96.             font-family: 'Courier';
  97.             color:white;
  98.             margin-bottom:0px;
  99.             margin-top:14px;
  100.         }
  101.         .nav{
  102.             padding:4px;
  103.             background:#999999;
  104.         }
  105.         .btn{
  106.             margin-right:2px;
  107.             padding:6px 4px 5px 4px;
  108.             border:none;
  109.             cursor:pointer;
  110.             color:white;
  111.             border-bottom: solid 1px #999999;
  112.         }
  113.         .btn:hover{
  114.             border-bottom:solid 1px black;
  115.         }
  116.         .inner{
  117.             background: white;
  118.         }
  119.         .big-heading{
  120.            
  121.             color:#f0412f;
  122.             font-family:'Lucida Console';
  123.             margin:25px 0px 15px 0px;
  124.             transform: scale(1, 2);
  125.         }
  126.         .subheading{
  127.             color:#787c7f;
  128.            
  129.             margin-top:0px;
  130.             text-transform: uppercase;
  131.         }
  132.         .section{
  133.             color:#c0c0c0;
  134.             line-height:30px;
  135.             margin-left:45px;
  136.             margin-right:45px;
  137.             padding-bottom:30px;
  138.         }
  139.         #home{
  140.             text-align:center;
  141.             padding:17px;
  142.             margin:13px;
  143.  
  144.         }
  145.     </style>
  146. </head>
  147. <body>
  148.     <div class="main">
  149.         <div class="inner">
  150.             <div class="nav">
  151.                 <input type="button" value="File" class="btn bg-darkblue">
  152.                 <input type="button" value="Edit" class="btn bg-firebrick">
  153.                 <input type="button" value="View" class="btn bg-darkgreen">
  154.                 <input type="button" value="Tools" class="btn bg-darkyellow">
  155.                 <input type="button" value="Help" class="btn bg-darkorange">
  156.             </div>
  157.             <div id="home">
  158.                 <h1 class="big-heading">
  159.                     HTML AND CSS
  160.                 </h1>
  161.                 <h2 class="subheading">
  162.                     < Cheat Sheet >
  163.                 </h2>
  164.                 <div class="section">
  165.                     Lorem ipsum, dolor, sit amet consectetur adipisicing elit. Amet excepturi sint perspiciatis commodi dolore exercitationem. Quis vero maxime natus suscipit voluptatem nostrum distinctio dolores pariatur! Asperiores, exercitationem consequatur quae odit.
  166.                 </div>
  167.             </div>
  168.         </div>
  169.         <h5 class="subtitle">
  170.             A TITLE FOR BEGINNERS
  171.         </h5>
  172.     </div>
  173.  
  174.     <ul class="items">
  175.         <li class="item">
  176.             <span class="bg-darkblue">
  177.                 <img src="https://static.thenounproject.com/png/89200-200.png" alt="">
  178.             </span>
  179.             <h5>
  180.                 HTML
  181.             </h5>
  182.             <span>
  183.                 Lorem ipsum, dolor sit amet consectetur adipisicing elit. Nam, quam velit eligendi fuga nobis fugiat repellat modi delectus aperiam, culpa laborum magni. Distinctio, velit. Consequatur magni quia, quisquam error
  184.             </span>
  185.         </li>
  186.         <li class="item">
  187.             <span class="bg-firebrick">
  188.                 <img src="https://static.thenounproject.com/png/3803708-200.png" alt="">
  189.             </span>
  190.             <h5>
  191.                 CSS
  192.             </h5>
  193.             <span>
  194.                 Lorem ipsum, dolor sit amet consectetur adipisicing elit. Nam, quam velit eligendi fuga nobis fugiat repellat modi delectus aperiam, culpa laborum magni. Distinctio, velit. Consequatur magni quia, quisquam error
  195.             </span>
  196.         </li>
  197.         <li class="item">
  198.             <span class="bg-darkgreen">
  199.                 <img src="https://static.thenounproject.com/png/3532081-200.png" alt="">
  200.             </span>
  201.             <h5>
  202.                 Snippets
  203.             </h5>
  204.             <span>
  205.                 Lorem ipsum, dolor sit amet consectetur adipisicing elit. Nam, quam velit eligendi fuga nobis fugiat repellat modi delectus aperiam, culpa laborum magni. Distinctio, velit. Consequatur magni quia, quisquam error
  206.             </span>
  207.         </li>
  208.         <li class="item">
  209.             <span class="bg-darkyellow">
  210.                 <img src="https://static.thenounproject.com/png/3805888-200.png" alt="">
  211.             </span>
  212.             <h5>
  213.                 Tags
  214.             </h5>
  215.             <span>
  216.                 Lorem ipsum, dolor sit amet consectetur adipisicing elit. Nam, quam velit eligendi fuga nobis fugiat repellat modi delectus aperiam, culpa laborum magni. Distinctio, velit. Consequatur magni quia, quisquam error
  217.             </span>
  218.         </li>
  219.         <li class="item">
  220.             <span class="bg-darkorange">
  221.                 <img src="https://static.thenounproject.com/png/1489354-200.png" alt="">
  222.             </span>
  223.             <h5>
  224.                 Hyperlinks
  225.             </h5>
  226.             <span>
  227.                 Lorem ipsum, dolor sit amet consectetur adipisicing elit. Nam, quam velit eligendi fuga nobis fugiat repellat modi delectus aperiam, culpa laborum magni. Distinctio, velit. Consequatur magni quia, quisquam error
  228.             </span>
  229.         </li>
  230.     </ul>
  231. </body>
  232. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement