How to clear float?


#1

How to clear float vertically?


#2

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