I built a responsive accordion with JS classes and I thought how the F this would work responsively without JS. Turns out it doesn't, the max-height is 20rem. Won't show all content once it crosses that height.
0 -> auto works, but isn't animated, and 0% -> 100% doesn't quite do what you would expect.
0
auto
0%
100%
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I built a responsive accordion with JS classes and I thought how the F this would work responsively without JS. Turns out it doesn't, the max-height is 20rem. Won't show all content once it crosses that height.
0
->auto
works, but isn't animated, and0%
->100%
doesn't quite do what you would expect.