In this final article of the Positioning in CSS series, we’ll describe the floating concept.
What Is Floating
Floating is used to place an element to the left or to the right of its containing block. This can be very easily achieved by setting the float property either to the left or right. In the following code snippet, all the elements under the box class are set to float to left.