I need assistance with moving the .container
div downward on my webpage. I attempted using (margin-top: 30px) and it worked, but unfortunately, it also shifted down the border of the (.container) along with the outline
of .all
. My goal is to have only the border of .container
moved downwards:
.all {
outline: 3px solid blue;
height: 100vh;
outline-offset: 5px;
position: relative;
}
.container {
border: 2px solid red;
height: 600px;
width: 335px;
margin-top: 30px;
}
<div class="all">
<div class="container">
</div>
</div>