The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Align text bottom left:
Hello, In this code:
http://codepen.io/jaygidwitz/pen/ogKxbd
I’m trying to get the text on hover to align with the bottom of the image. What’s the best way to do this?
Thank you!
Jay
On line 83 change this top: 45% to this:bottom: 0
top: 45%
bottom: 0
And if you want the text centered, on line 155 simply change the text-align to center.
Is this what you were looking for?
http://codepen.io/jmaker/pen/wBVGma?editors=110