Tag: CSS Tutorial for Beginners

CSS Tutorial for Beginners Part 22 – CSS float and clear | Learn Web Technologies

CSS Tutorial for Beginners Part 22 – CSS float and clear | Learn Web Technologies

CSS Tutorial
CSS Playlist HTML Playlist Sign up for my newsletter to receive weekly updates Join our facebook page bit.ly/2OKQYV7 The float Property The float property is used for positioning and formatting content e.g. let an image float left to the text in a container. The float property can have one of the following values: left - The element floats to the left of its container right - The element floats to the right of its container none - The element does not float (will be displayed just where it occurs in the text). This is default inherit - The element inherits the float value of its parent The clear Property The clear property specifies what elements can float beside the cleared element and on which side. The clear property can have one of the following values: none - Allows float...
Loading...