Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

Float / Clear #449

@oldoc63

Description

@oldoc63
  • 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 float property.

  • 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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions