Set limit, css animations

Asked

Viewed 47 times

3

I came across this problem that is affecting my CSS structure.

I have such animation on my website http://jsfiddle.net/9bdqe2nq/

But I need it to stay inside the black bar, which is that surplus that is outside the bar should not appear... I was using the z-index to go over the rest of my site on top of that, but I got into trouble [..]

What solution should I apply?

2 answers

3


  • Let’s see, it works right, but I need to display other Ivs within the . menu that goes beyond the height of the menu, as here http://jsfiddle.net/9bdqe2nq/2/ @Sergio

  • @user3163662, so the problem is different. Can I suggest changes in HTML?

  • stay tuned, wait for reply!

  • EDIT: Solved.

1

Just add

overflow: hidden; 

in class . menu { }

Browser other questions tagged

You are not signed in. Login or sign up in order to post.