I am wondering how to align text with the bottom of an image.
See example here: http://i.imgur.com/U8BrGKH.jpg
I’m trying to keep it responsive, so the images take 85% of the parent div space, and the text will max out at 15%. How do you get the text to align with bottom.
This reply has been reported for inappropriate content.
Maybe try setting the parent div toposition: relative and the text element to position: absolute and bottom: 0 and right: 0
Display: inline-block should be enough: http://codepen.io/anon/pen/cECLx
Hah over-engineered that one – nice @Paulie_D. :)
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed