CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
CSS Combat
CSS3 Graphs Align Bottom
jcoder
Permalink to comment
#
July 2012
Does anyone know how I would align this bar graph to the bottom rather than the top?
Thanks,
http://codepen.io/jbatzel1/full/JLwsk
TheSisb
Permalink to comment
#
July 2012
[EDIT] I found a solution
http://codepen.io/TheSisb/pen/rEzBj
TheSisb
Permalink to comment
#
July 2012
Bumping for new solution. The key is in using display:inline-block, which defaults to vertical-align:bottom;.
Then I add a empty bar of width:0; and height:100%; to force the rest all the way down.
Add a Comment
Thanks,
http://codepen.io/jbatzel1/full/JLwsk
http://codepen.io/TheSisb/pen/rEzBj
Then I add a empty bar of width:0; and height:100%; to force the rest all the way down.