+ 1
Stacking inline-block elements
I want all span elements to be stacked behind each other but dont know how to do that https://code.sololearn.com/WjC9Ke6MHoE4/?ref=app
5 Answers
+ 1
Oh
+ 2
Ankit i figured it out
+ 1
use display: block on the spans
+ 1
Or use flexbox on div
div {
display: flex;
flex-direction: column;
}
+ 1
Ahh thank you but i made a mistake in the description i meant they schould be behind each other that way of stacked đ¶