javascript - How to align text in bottom of label -
i've got problems text in label bottom of label.
i'm animating falling text, label "seem" fall should, text stays on top, it's not following label downwards. please check jsfiddle out, press button see problem. have tried many different ways without coming working solution.
http://jsfiddle.net/kaze72/jq6ua/
.uppgifter { vertical-align: text-bottom; }
seems not help!
you can try
.uppgifter { display: table-cell; vertical-align: bottom; background-color: yellow; }
updated jsfiddle .uppgifter
's height in animate
method matches #spelplan
's height.
Comments
Post a Comment