Here https://jsfiddle.net/w39znn58/ I did a hard sketch with floats and absolute positioning of what I'm trying to achieve with clean and modern CSS using flex-box most likely? Or grid?
div {
border: 1px solid black;
padding: 20px;
width: 80px;
}
.rectangle {
height: 82px;
float: left;
}
.square {
float: left;
}
.square-2 {
float: none;
position: absolute;
top: 70px;
left: 130px;
}
<div class="rectangle">Rectangle</div>
<div class="square square-1">Square 1</div>
<div class="square square-2">Square 2</div>
I want two blocks, one to stack on top of the other next to a vertical rectangle without fixed/absolute positioning and without adding a div wrapper for .square
divs.