Adding div around button causes it to lose flexbox properties

前端 未结 0 358
北荒
北荒 2021-01-18 04:36

In the example below, "Flex item 2" stretches horizontally since one of the parent divs has flex-column and align-items is stretch by default. Why doesn\'t the but

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