Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
1.2 kB
13
Indexable
Never
<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link href="" rel="stylesheet" />
    <title></title>
    <style>
        .parent{
            display: flex;
            width: 90%;
            background: blue;
            
        }
      .row {
        width: 100%;
        height: 100px;
        background-color: red;
        display: flex;
        /* flex-wrap: wrap; */
        /* justify-content: center;

        align-items: center; */
        /* gap: 2rem; */
        gap: 2px;
      }
      .row1{
         width: 100%;
        height: 100px;
        gap: 1rem;
        display: flex;
      justify-content: flex-end;
      }
      .item1,
      .item2,
      .item3 {
        width: 10%;
        height: 50px;

        background-color: black;
      }
    </style>
  </head>
  <body>
    <div class="parent">
      <div class="row">
        <div class="item1"></div>
        <div class="item2"></div>
        <div class="item3"></div>
      </div>
      <div class="row1">
        <div class="item1"></div>
        <div class="item2"></div>
        <div class="item3"></div>
      </div>
    </div>
  </body>
</html>