The CSS float property specifies how an element should float. It is used for wrapping text around images or creating multi-column layouts (though Flexbox/Grid are now preferred).
left - Float to the leftright - Float to the rightnone - No float (default)inherit - Inherits from parentClearfix: Use overflow: auto or ::after hack on the parent to contain floated children.
Edit the code below and click Run to see the result live.