Why
is used after multiple floating DIVS in a container DIV?

后端 未结 6 1608
眼角桃花
眼角桃花 2020-12-30 06:25

I have encountered a

at many places, but I am not aware why is it done? Can someone brief me on this, why it is used in
6条回答
  •  没有蜡笔的小新
    2020-12-30 07:08

    All technical details has been introduced above. More generally this kind of element serves as 'hard line' for floated elements, laying them properly vertically one under another. It's worth to say that there are better methods these days.

提交回复
热议问题