How do I clear my floats?

前端 未结 4 664
甜味超标
甜味超标 2021-01-23 08:08



        
4条回答
  •  难免孤独
    2021-01-23 08:33

    Adding overflow: hidden; to your .content {} will sort this out. It's a float clearing thing. Adding overflow or a clearing element will make the wrapper contain what's inside.

提交回复
热议问题