Trying to layout the following tiles in CSS, but can't seem to find the right combination of align/justify.
Here's what I got so far:
.container {
border: 3px solid red;
display: flex;
flex-direction: column;
flex-wrap: wrap;
align-items: flex-end;
justify-content: flex-end;
width: 100%;
height: 500px;
}
.item {
border: 3px solid red;
width: 150px;
height: 150px;
}
<div class="container">
<div class="item">1</div>
<div class="item">2</div>
<div class="item">3</div>
<div class="item">4</div>
<div class="item">5</div>
<div class="item">6</div>
<div class="item">7</div>
</div>
The result is not right to left and it's not "pushed" to the right side.