How to prevent button from taking up full width when using css flexbox?

后端 未结 0 1021
迷失自我
迷失自我 2021-01-26 08:04

I always run into this problem when I use flexbox to center my content, where my button ends up spanning the full width of the div. I want it to only take up the space it needs.

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