How can I stop float left?

后端 未结 10 597
野趣味
野趣味 2021-01-31 01:13

I have the following code:

10条回答
  •  孤城傲影
    2021-01-31 01:37

    For some reason none of the above fixes worked for me (I had the same problem), but this did:

    Try putting all of the floated elements in a div element:

    ...
    .

    Then add this CCS: .row::after {content: ""; clear: both; display: table;}

提交回复
热议问题