Vertical Align to bottom with single Element
I have a holder div that has specific dimensions, and has a single child
element of varying height, and I am trying to align it to the baseline.
Currently, I have a second element that is the same fixed height as the
container which makes it aligned to the bottom, but if it is on its own,
it sticks to the top, regardless of what rules are applied.
So, how can I vertically align an element to the bottom of a container if
it is the only child element?
No comments:
Post a Comment