CSS3 transition bottom up

Go To StackoverFlow.com

0

Got stuck here: http://jsfiddle.net/UFkg8/

Right now the animation is top-down. What do I need to change to make it bottom-up?

If I change top to 100%; in .mask then it works but it also doubles the div's height and creates a scrollbar.

2012-04-05 15:53
by Barbara


1

I've seen that you don't want to modify the .post, but why not add overflow:hidden; to it? This jsfiddle works for me (at least it does in Chrome).

2012-04-05 16:09
by Oleg
Bingo, thanks. I can't modify it because it's some inline style injected from a jquery plugin, I c/p it from the html markup. I can override/add things to it though. I'll just add overflow:hidden; to the .post class in the css. : - Barbara 2012-04-05 16:16
Ads