Tag: css-transitions

51 votes
30 answers
2.7K views
Transitions on the CSS display property

I'm currently designing a CSS 'mega dropdown' menu - basically a regular CSS-only dropdown menu

avatar
Dorinda
0 1 0 9
asked 07 September, 2021
55 votes
30 answers
1.3K views
How can I transition height: 0; to height: auto; using CSS?

I am trying to make a <ul> slide down using CSS transitions. The <ul> starts off at height: 0;. O

avatar
Yolando
0 1 0 9
asked 07 September, 2021