Grow your CSS skills. Land your dream job.

CSS3 Graphs Align Bottom

  • # July 16, 2012 at 3:21 pm

    Does anyone know how I would align this bar graph to the bottom rather than the top?

    Thanks,

    http://codepen.io/jbatzel1/full/JLwsk

    # July 16, 2012 at 3:57 pm

    [EDIT] I found a solution

    http://codepen.io/TheSisb/pen/rEzBj

    # July 16, 2012 at 9:17 pm

    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.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".