<head>
<style>
.div1{
background-color: antiquewhite;
display: block;
width: 100vw;
height: 20vh;
margin: 10px;
}
.div2{
background-color: rgb(173, 105, 17);
display: inline-block;
width: 30vw;
height: 40vh;
margin: 10px;
}
.div3{
background-color: rgb(5, 165, 21);
display: inline-flex;
width: 40vw;
height: 40vh;
margin: 10px;
}
</style>
</head>
<body>
<div class="div1">DIV-1</div>
<div class="div2">DIV-2</div>
<div class="div3">DIV-3</div>
</body>
<style>
.div1{
background-color: antiquewhite;
display: block;
width: 100vw;
height: 20vh;
margin: 10px;
}
.div2{
background-color: rgb(173, 105, 17);
display: inline-block;
width: 30vw;
height: 40vh;
margin: 10px;
}
.div3{
background-color: rgb(5, 165, 21);
display: inline-flex;
width: 40vw;
height: 40vh;
margin: 10px;
}
</style>
</head>
<body>
<div class="div1">DIV-1</div>
<div class="div2">DIV-2</div>
<div class="div3">DIV-3</div>
</body>
👍6