Setting a div's width to 0 results in a width of horizontal padding + border, how to get around this?

前端 未结 0 788
时光说笑
时光说笑 2021-02-06 02:37

I am trying to add an animation to my site in which a div\'s width is decreased from its initial value to 0. This works great, except that a small sliver of the div remains afte

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