Home  >  Q&A  >  body text

Why do we need to clear floats at the end?

clear:both

World's EdgeWorld's Edge2367 days ago1356

reply all(1)I'll reply

  • NineRose

    NineRose2018-05-21 15:56:10

    If this attribute is not set, if the box cannot fit the element, then the element will be misplaced

    reply
    0
  • Cancelreply