CSS: Set max-height to same value as height becomes when “none” max-height?

前端 未结 0 1114
庸人自扰
庸人自扰 2021-02-14 04:46

So I am making a dropdown that uses transition of max-height and opacity, for example if the dropdown was 500 pixels in height, I would use 500px for max-height when open, and 0

相关标签:
回答
  • 消灭零回复
提交回复
热议问题