Tags
Language
Tags
April 2024
Su Mo Tu We Th Fr Sa
31 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 1 2 3 4

CSS Floating: Floats and Float Shapes

Posted By: AlenMiler
CSS Floating: Floats and Float Shapes

CSS Floating: Floats and Float Shapes by Eric A. Meyer
English | Feb. 5, 2016 | ISBN: 1491929642 | 48 Pages | AZW3/EPUB/PDF (conv) | 15.09 MB

While flowing text around images is certainly nothing new, with CSS you can float any element, from images to paragraphs to lists. In this practical guide, author Eric Meyer reveals some interesting—and surprising—ways to use CSS floats in your web design, including the latest capability to flow content past non-rectangular float shapes.

Short and sweet, this book is an excerpt from the upcoming fourth edition of CSS: The Definitive Guide. When you purchase either the print or the ebook edition of CSS Floating, you’ll receive a discount on the entire Definitive Guide once it’s released. Why wait? Learn how to bring life to your web pages now.

Learn the characteristics of floated elements, and CSS rules for using them
Be aware of certain rule exceptions when applying floats to your design, including the use of negative margins
Use the clear property to prevent floats from affecting elements in the next section of the document
Create floating boxes in non-rectangular shapes, including rounded corners, circles, ellipses, and even polygons
Define float shapes with transparent or opaque images