In this example, the price text is aligned at the top of the container, I want it to be aligned at the bottom of it, like at the baseline
.options {
margin-top: auto;
background: #ffaaff;
flex: 1 1 100%;
display: flex;
justify-content: space-between;
line-height: 1;
}
.money {
display: block;
}
.cart-price {
display: block;
}
<div class="options">
<div class="price">
<span class="cart-price">
<span class="money">$49.50</span>
</span>
</div>
<div>
<button>Decrease</button>
<span >2</span>
</div>
</div>