+ 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

9th Aug 2019, 3:20 PM
Mbrustler
Mbrustler - avatar
5 Answers
+ 1
Oh
9th Aug 2019, 3:42 PM
Aegon
Aegon - avatar
+ 2
Ankit i figured it out
9th Aug 2019, 4:18 PM
Mbrustler
Mbrustler - avatar
+ 1
use display: block on the spans
9th Aug 2019, 3:34 PM
Aegon
Aegon - avatar
+ 1
Or use flexbox on div div { display: flex; flex-direction: column; }
9th Aug 2019, 3:36 PM
Aegon
Aegon - avatar
+ 1
Ahh thank you but i made a mistake in the description i meant they schould be behind each other that way of stacked đŸ˜¶
9th Aug 2019, 3:38 PM
Mbrustler
Mbrustler - avatar