Padding, Borders, Outlines, and Margins in CSS: CSS Box Model Details (Paperback)

Eric A. Meyer

  • 出版商: O'Reilly
  • 出版日期: 2016-01-19
  • 售價: $610
  • 貴賓價: 9.5$580
  • 語言: 英文
  • 頁數: 78
  • 裝訂: Paperback
  • ISBN: 1491929804
  • ISBN-13: 9781491929803
  • 相關分類: CSS
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

The ability to apply margins, borders, and padding to any web page element is one of the things that sets CSS so far above traditional markup. With this practical guide, you will not only learn how to use these properties to lay out your document, but also how to change and control the appearance of any element on the page.

Short and sweet, this short 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 Padding, Borders, Outlines, and Margins in CSS, 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.

  • Understand the CSS box model, including the way different properties relate to one another
  • Use tricks for defining padding values, including inline element padding
  • Explore border width, style, and color, plus the use of border images
  • Learn how to use outlines: presentational elements that won’t affect layout
  • Dive into the use of margins, including the way top and bottom margins collapse

商品描述(中文翻譯)

能夠對網頁元素應用邊距、邊框和填充是CSS相對於傳統標記的一個優勢之一。這本實用指南將教你如何使用這些屬性來排版你的文件,並控制頁面上任何元素的外觀。

這本簡短的書籍是即將發行的《CSS: The Definitive Guide》第四版的一部分。當你購買《Padding, Borders, Outlines, and Margins in CSS》的印刷版或電子版時,你將獲得整本《Definitive Guide》發行時的折扣。為什麼等呢?現在就學習如何為你的網頁注入生命吧。

本書內容包括:
- 理解CSS盒模型,包括不同屬性之間的關係
- 使用技巧定義填充值,包括內聯元素的填充
- 探索邊框的寬度、樣式和顏色,以及邊框圖像的使用
- 學習如何使用輪廓:不會影響佈局的表現元素
- 深入研究邊距的使用,包括上下邊距的折疊