Skip to main content

One doc tagged with "float"

View All Tags

Float

The float property in CSS is a powerful tool that was originally designed for wrapping text around images. Over time, it became a popular method for creating layouts and aligning elements before Flexbox and Grid became mainstream.