CSS GRID AND POSITIONS FULL CHAPTER [HTML+CSS]

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="posittions.css">
    <title>Positions</title>
</head>
<body>
    <div class="con">
<div class="item"></div>
<div class="item1"></div>
<div class="item2"></div>
<div class="item3"></div>
<div class="item4"></div>
<div class="item5"></div>
<div class="item6"></div>
<div class="item7"></div>
</div>
</body>
</html>



.con{
    border: 10px solid;
    height: 90vh;
    width: 100%;
    background-color: rgb(220, 216, 224);

}
.item{
    height: 100px;
    width: 100px;
    background-color: aqua;
}
.item1{
    height: 100px;
    width: 100px;
    background-color: rgb(255, 94, 0);
}
.item2{
    height: 100px;
    width: 100px;
    background-color: rgb(187, 9, 107);
}
.item3{
    height: 100px;
    width: 100px;
    background-color: rgb(241, 255, 45);
}
.item4{
    height: 100px;
    width: 100px;
    background-color: aqua;
}
.item5{
    height: 100px;
    width: 100px;
    background-color: rgb(255, 94, 0);
}
.item6{
    height: 100px;
    width: 100px;
    background-color: rgb(187, 9, 107);
}
.item7{
    height: 100px;
    width: 100px;
    background-color: rgb(241, 255, 45);
}

Comments