How to clear float?

How to clear float vertically?

By using :after pseudo selector or with overflow:hidden on parent node

1 Like