::after and ::before are Pseudo elements. It which allows you to insert content into a page from CSS
::after
::before
Example:
div::after { content: "hi"; } div::before { content: "hi"; }
Am new to css.I know only basics in css. I wonder what is the use clear:both.Please give some sample code for what is the use for this.
clear:both