Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
3.7 kB
8
Indexable
Never
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .container {
            display: grid;
            gap: 1rem;
            grid-template-areas: 'item1 item1 item2''item3 item3 item3' 'item4 item5 item5''item6 item6 item7''item8 item9 item10''item11 item11 item11';
            /* height: 10%; */
        }
        
        .container div {
            border-radius: 4px;
            text-align: left;
            padding-top: 5px;
            padding-left: 5px;
        }
        
        .item1 {
            grid-area: item1;
            background-color: black;
            color: white;
        }
        
        .item2 {
            grid-area: item2;
            background-color: darkgray;
            color: black;
        }
        
        .item3 {
            grid-area: item3;
            background-color: rgb(127, 11, 236);
            color: rgb(255, 255, 255);
        }
        
        .item4 {
            grid-area: item4;
            background-color: darkgray;
            color: black;
        }
        
        .item5 {
            grid-area: item5;
            background-color: darkgray;
            color: black;
        }
        
        .item6 {
            grid-area: item6;
            background-color: darkgray;
            color: black;
        }
        
        .item7 {
            grid-area: item7;
            background-color: darkgray;
            color: black;
        }
        
        .item8 {
            grid-area: item8;
            background-color: darkgray;
            color: black;
        }
        
        .item9 {
            grid-area: item9;
            background-color: darkgray;
            color: black;
        }
        
        .item10 {
            grid-area: item10;
            background-color: darkgray;
            color: black;
        }
        
        .item11 {
            grid-area: item11;
            background-color: darkgray;
            color: black;
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="item1">
            <h2>CSS GRID LAYOUT</h2> Lorem ipsum dolor sit amet consectetur adipisicing elit.
        </div>
        <div class="item2">
            <h2>THE ViDEO TUTORIAL</h2> Lorem ipsum dolor sit amet, consectetur adipisicing elit.</div>
        <div class="item3">
            <h2>GET STARTED GUIDE</h2> Lorem ipsum dolor sit, amet consectetur adipisicing elit. </div>
        <div class="item4">
            <h2>GET STARTED GUIDE</h2> Lorem ipsum dolor sit, amet consectetur adipisicing elit.</div>
        <div class="item5">
            <h2>GET STARTED GUIDE</h2> Lorem ipsum dolor sit, amet consectetur adipisicing elit.</div>
        <div class="item6">
            <h2>GET STARTED GUIDE</h2> Lorem ipsum dolor sit, amet consectetur adipisicing elit.</div>
        <div class="item7">
            <h2>GET STARTED GUIDE</h2> Lorem ipsum dolor sit, amet consectetur adipisicing elit.</div>
        <div class="item8">
            <h2>GET STARTED GUIDE</h2> Lorem ipsum dolor sit, amet consectetur adipisicing elit.</div>
        <div class="item9">
            <h2>GET STARTED GUIDE</h2> Lorem ipsum dolor sit, amet consectetur adipisicing elit.</div>
        <div class="item10">
            <h2>GET STARTED GUIDE</h2> Lorem ipsum dolor sit, amet consectetur adipisicing elit.</div>
        <div class="item11">
            <h2>GET STARTED GUIDE</h2> Lorem ipsum dolor sit, amet consectetur adipisicing elit.</div>
        <!-- <div class="item12"></div> -->
    </div>

</body>

</html>