I'm trying to have a fade down animation on menu and submenu but it only works on the first one. I'm using a
transition: all 0.3s ease 0s;visibility: hidden;margin-top:-10px; on nav >div> ul > li > ul and margin-top:0px;opacity: 1;visibility: visible; with hover. The problem comes from nav li > ul ul {display: none;}. It seems that CSS can't animate between display: none; and display: block; and i don't know how to replace display: none;
here is the jsfiddle with the display:none and the no animation on the last submenu and here is the jsfiddle with visibility:hidden; the animation works but i've got wired effect
Is there a way to have this animation work on all the submenus ?