0

Aligning image & p tag in new line

As I have used inline-flex I am not able to use display:block to align image & p tag in separate lines ; while maintaining centre align properties. https://code.sololearn.com/WcH0HOn38SZy/?ref=app

3rd Jan 2020, 7:07 PM
harshit
harshit - avatar
2 Réponses
0
adding flex-direction:column; to your css .collegecard class rules do the job... but your design seems overkill ^^
3rd Jan 2020, 9:21 PM
visph
visph - avatar
0
visph overkill ? Any suggestions
3rd Jan 2020, 9:42 PM
harshit
harshit - avatar