Text in a flex container doesn't wrap in IE11

后端 未结 12 1990
自闭症患者
自闭症患者 2020-11-22 05:23

Consider the following snippet:

12条回答
  •  名媛妹妹
    2020-11-22 05:40

    As Tyler has suggested in one of the comments here, using

    max-width: 100%;
    

    on the child may work (worked for me). Using align-self: stretch only works if you aren't using align-items: center (which I did). width: 100% only works if you haven't multiple childs inside your flexbox which you want to show side by side.

提交回复
热议问题