CSS in Depth, Second Edition (深入理解CSS(第二版))

Grant, Keith J.

  • 出版商: Manning
  • 出版日期: 2024-09-03
  • 售價: $2,160
  • 貴賓價: 9.5$2,052
  • 語言: 英文
  • 頁數: 544
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1633437558
  • ISBN-13: 9781633437555
  • 相關分類: CSS
  • 立即出貨 (庫存 < 3)

相關主題

商品描述

To create web designs that delight, entertain, and impress your users, you need to know CSS in depth!

Getting good--really good--at CSS means learning everything that CSS is capable of. This totally revised new edition of CSS in Depth expands your CSS skills with the patterns, layouts, and methods you need to deliver truly beautiful front ends.

In CSS in Depth, Second Edition you will learn how to:

- Create a web page with layout methods
- Develop essential website components, like dropdown menus and dialog boxes
- Make your website fully responsive across devices
- Organize your CSS for easy future maintenance
- Implement designer mockups with attention to detail
- Use animations to guide user focus
- Avoid common CSS pitfalls

The more you know about CSS, the more confident you'll be at tackling any tricky website design! CSS in Depth has given thousands of web developers the tools and the inspiration to make sites that really pop. This second edition is packed with the latest best practices, new CSS language features, and essential advice on how to organize and maintain your CSS codebase.

Foreword by Chris Coyier.

Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications.

About the technology

To deliver truly beautiful frontends, you need to know CSS inside and out. And as CSS grows and matures, even experienced CSS developers will find a whole new set of skills to catch up on! This guide will help you discover everything that CSS is capable of--from the must-knows and brand-new features to the hidden insights you won't find anywhere else!

About the book

CSS in Depth, Second Edition, deep dives into the CSS techniques used by the world's most skilled web developers. Inside, you'll learn how to build and organize a modular CSS codebase that's easy to understand, maintain, and reuse. This new edition is fully revised to cover the CSS standard's latest additions, including cascade layers, logical properties, new color functions, subgrid, and container queries.

What's inside

- Vertical centering, margin collapsing, and positioning
- Dropdown menus and modal dialog boxes
- Animations to guide user focus
- Avoiding common CSS pitfalls

About the reader

Written for web developers who know the basics of CSS and HTML.

About the author

Keith J. Grant is a Principal Software Engineer at Red Hat, where he works on front-end code for the Ansible Controller web application using JavaScript and CSS.

The technical editor on this book was Chris Chinchilla.

Table of Contents

PART 1
1 Cascade, specificity, and inheritance
2 Working with relative units
3 Document flow and the box model
PART 2
4 Flexbox
5 Grid layout
6 Positioning and stacking contexts
7 Responsive design
PART 3
8 Cascade layers and nesting
9 Modular CSS and scope
10 Container queries
PART 4
11 Color and contrast
12 Typography and spacing
13 Gradients, shadows, and blend modes
14 Masks, shapes, and clipping
PART 5
15 Transitions
16 Transforms
17 Animations
APPENDIXES
A Selectors reference
B Preprocessors

商品描述(中文翻譯)

要創造讓用戶感到愉悅、娛樂和印象深刻的網頁設計,您需要深入了解 CSS!真正精通 CSS 意味著學習 CSS 所能做到的一切。這本全新修訂的《CSS in Depth》擴展了您的 CSS 技能,提供了您需要的模式、佈局和方法,以交付真正美麗的前端。

在《CSS in Depth, Second Edition》中,您將學習如何:
- 使用佈局方法創建網頁
- 開發基本的網站組件,如下拉選單和對話框
- 使您的網站在各種設備上完全響應
- 組織您的 CSS 以便於未來的維護
- 實現設計師的模型,注重細節
- 使用動畫引導用戶的注意力
- 避免常見的 CSS 陷阱

您對 CSS 知識越多,面對任何棘手的網站設計時就越有信心!《CSS in Depth》已經為成千上萬的網頁開發者提供了讓網站真正出色的工具和靈感。這第二版包含了最新的最佳實踐、新的 CSS 語言特性,以及如何組織和維護您的 CSS 代碼庫的基本建議。

前言由 Chris Coyier 撰寫。

購買印刷版書籍可獲得 Manning Publications 提供的免費 PDF 和 ePub 格式電子書。

關於技術
要交付真正美麗的前端,您需要徹底了解 CSS。隨著 CSS 的發展和成熟,即使是經驗豐富的 CSS 開發者也會發現一整套新的技能需要跟上!本指南將幫助您發現 CSS 所能做到的一切——從必須了解的知識和全新特性,到您在其他地方找不到的隱藏見解!

關於本書
《CSS in Depth, Second Edition》深入探討了世界上最熟練的網頁開發者所使用的 CSS 技術。在書中,您將學習如何構建和組織一個易於理解、維護和重用的模組化 CSS 代碼庫。這本新版本已全面修訂,以涵蓋 CSS 標準的最新增補,包括級聯層、邏輯屬性、新的顏色函數、子網格和容器查詢。

內容概覽
- 垂直置中、邊距合併和定位
- 下拉選單和模態對話框
- 引導用戶注意力的動畫
- 避免常見的 CSS 陷阱

關於讀者
本書適合已掌握 CSS 和 HTML 基礎的網頁開發者。

關於作者
Keith J. Grant 是 Red Hat 的首席軟體工程師,負責使用 JavaScript 和 CSS 為 Ansible Controller 網頁應用程式開發前端代碼。

本書的技術編輯是 Chris Chinchilla。

目錄
第一部分
1. 級聯、特異性和繼承
2. 使用相對單位
3. 文檔流和盒模型
第二部分
4. Flexbox
5. 網格佈局
6. 定位和堆疊上下文
7. 響應式設計
第三部分
8. 級聯層和嵌套
9. 模組化 CSS 和範圍
10. 容器查詢
第四部分
11. 顏色和對比
12. 排版和間距
13. 漸變、陰影和混合模式
14. 遮罩、形狀和裁剪
第五部分
15. 過渡
16. 變形
17. 動畫
附錄
A. 選擇器參考
B. 預處理器