css - Transitions on the display: property - Stack Overflow
You can concatenate two transitions or more, and visibility is what comes handy this time. div > ul { . . . visibility:hidden; opacity:0; transition:visibility 0s linear 0.5s,opacity 0.5s linear; } div:hover > ul { visibility:visible; opacity:1; transitio...