CSS Floating: Floats and Float Shapes

· "O'Reilly Media, Inc."
4,0
1 umsögn
Rafbók
48
Síður
Gjaldgeng
Einkunnir og umsagnir eru ekki staðfestar  Nánar

Um þessa rafbók

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

Einkunnir og umsagnir

4,0
1 umsögn

Um höfundinn

Eric A. Meyer is the author of the critically acclaimed online tutorial Introduction to HTML, as well as some other semi-popular Web pages. He is a member of the CSS&FP Working Group and the author of Cascading Style Sheets: The Definitive Guide.

Gefa þessari rafbók einkunn.

Segðu okkur hvað þér finnst.

Upplýsingar um lestur

Snjallsímar og spjaldtölvur
Settu upp forritið Google Play Books fyrir Android og iPad/iPhone. Það samstillist sjálfkrafa við reikninginn þinn og gerir þér kleift að lesa með eða án nettengingar hvar sem þú ert.
Fartölvur og tölvur
Hægt er að hlusta á hljóðbækur sem keyptar eru í Google Play í vafranum í tölvunni.
Lesbretti og önnur tæki
Til að lesa af lesbrettum eins og Kobo-lesbrettum þarftu að hlaða niður skrá og flytja hana yfir í tækið þitt. Fylgdu nákvæmum leiðbeiningum hjálparmiðstöðvar til að flytja skrár yfir í studd lesbretti.