CSS Float property helps how an element should float. It is used for positioning and formatting content.
Syntax:
/* Keyword values */
float: left;
float: right;
float: none;
float: inline-start;
float: inline-end;
/* Global values */
float: inherit;
float: initial;
float: unset;
Float values:
left - the element should float left of its container
right - the element should float right of its container
none - the element should not float
inline-start - the element should float on the start side. left side with itr scripts and right side with rtl scripts
inline-end - the element should float on the end side. right side with itr scripts and left side with rtl scripts
Back to Questions: Was this article helpful ? - "Do you heard about CSS Float? Can you explain?"
Syntax:
/* Keyword values */
float: left;
float: right;
float: none;
float: inline-start;
float: inline-end;
/* Global values */
float: inherit;
float: initial;
float: unset;
Float values:
left - the element should float left of its container
right - the element should float right of its container
none - the element should not float
inline-start - the element should float on the start side. left side with itr scripts and right side with rtl scripts
inline-end - the element should float on the end side. right side with itr scripts and left side with rtl scripts
Back to Questions: Was this article helpful ? - "Do you heard about CSS Float? Can you explain?"