Is there any deep difference between this two containers? , or in a nutshell is the same..
<head>
<style>
* {
margin: 0;
padding: 0;
}
body {
font-weight: bold;
font-size: 30px;
font-family: sans-serif;
}
div {
padding: 10px;
}
.container-1 {
background-color: tomato;
}
.container-2 {
width: 100vw;
margin-top: 20px;
background-color: limegreen;
}
</style>
</head>
<body>
<div class="container-1">
HELLO WORLD! (default width)
</div>
<div class="container-2">
HELLO WORLD! (vh width)
</div>
</body>
I want to know if a block element behaves as if it has on it a 100vw.