Advertisement
lemansky

Untitled

Nov 5th, 2021
934
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 3.68 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:14px;
  10.             list-style-type: none;
  11.             margin:0px;
  12.             padding:0px;
  13.             display:flex;
  14.             flex-direction: row;
  15.         }
  16.         .item{
  17.             width:140px;
  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.     </style>
  90. </head>
  91. <body>
  92.     <ul class="items">
  93.         <li class="item">
  94.             <span class="bg-darkblue">
  95.                 <img src="https://static.thenounproject.com/png/89200-200.png" alt="">
  96.             </span>
  97.             <h5>
  98.                 HTML
  99.             </h5>
  100.             <span>
  101.                 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
  102.             </span>
  103.         </li>
  104.         <li class="item">
  105.             <span class="bg-firebrick">
  106.                 <img src="https://static.thenounproject.com/png/3803708-200.png" alt="">
  107.             </span>
  108.             <h5>
  109.                 CSS
  110.             </h5>
  111.             <span>
  112.                 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
  113.             </span>
  114.         </li>
  115.         <li class="item">
  116.             <span class="bg-darkgreen">
  117.                 <img src="https://static.thenounproject.com/png/3532081-200.png" alt="">
  118.             </span>
  119.             <h5>
  120.                 Snippets
  121.             </h5>
  122.             <span>
  123.                 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
  124.             </span>
  125.         </li>
  126.         <li class="item">
  127.             <span class="bg-darkyellow">
  128.                 <img src="https://static.thenounproject.com/png/3805888-200.png" alt="">
  129.             </span>
  130.             <h5>
  131.                 Tags
  132.             </h5>
  133.             <span>
  134.                 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
  135.             </span>
  136.         </li>
  137.         <li class="item">
  138.             <span class="bg-darkorange">
  139.                 <img src="https://static.thenounproject.com/png/1489354-200.png" alt="">
  140.             </span>
  141.             <h5>
  142.                 Hyperlinks
  143.             </h5>
  144.             <span>
  145.                 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
  146.             </span>
  147.         </li>
  148.     </ul>
  149. </body>
  150. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement