You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 16, 2026. It is now read-only.
So far, you’ve learned how to specify the exact position of an element using offset properties.
If you’re simply interested in moving an element as far left or as far right as possible in the container, you can use the
floatproperty.The float property is commonly used for wrapping text around an image.
The float property is often set using one of the values below:
left - moves, or floats, elements as far left as possible.
right - moves elements as far right as possible.
Float works for static and relative positioned elements.
Floated elements must have a width specified.