商品描述
Beginning CSS3 teaches you how to style web pages using Cascading Style Sheets (CSS)—the language of web design. Starting from first principles, you’ll learn through a series of practical exercises how to change the default look of HTML tags, adding color, backgrounds, and borders. The book demystifies core concepts, such as the CSS box model and selectors, giving you the confidence and knowledge to create innovative and flexible page layouts. You’ll also learn how to create rounded corners, drop shadows, and gradients without the need for images, using the latest CSS3 techniques.
What you’ll learn
- Teaches how to style attractive and flexible web pages
- Hands-on exercises demonstrate how to combine style rules for different effects
- Comprehensive coverage of CSS2.1 and stable parts of CSS3
Who this book is for
Beginning CSS3 is aimed at web designers who want to master the use of Cascading Style Sheets to style and lay out modern web pages. It teaches core concepts, such as the CSS box model and choosing the most appropriate selectors to apply styles efficiently. This makes it an excellent choice for both complete beginners and web designers who want to improve their understanding of CSS.
Table of Contents
- Introducing CSS - the Language of Web Design
- Using Basic Selectors
- Specifying Sizes, Colors, and Files
- Styling Text
- Embedding Web Fonts
- Understanding Layout with the CSS Box Model
- Floating Elements for Layout
- Adding Backgrounds
- Adding Borders and Drop Shadows
- Styling Lists and Navigation Menus
- Positioning Elements Precisely
- Cross-Browser Layout Techniques
- Using Advanced Selectors
- Styling Tables
- Generated Content
- Creating a Print Style Sheet
- Targeting Styles at Different Devices with Media Queries
- Using CSS3 Multi-Column Layout
- Creating Gradients Without images
- 2D Transformations and Transitions
- Animating Elements with CSS Keyframes
- What Next?
商品描述(中文翻譯)
Beginning CSS3 教你如何使用層疊樣式表 (CSS) 來設計網頁——這是網頁設計的語言。從基本原則開始,你將通過一系列實踐練習學習如何改變 HTML 標籤的預設外觀,添加顏色、背景和邊框。這本書揭開了核心概念的神秘面紗,例如 CSS 盒模型和選擇器,讓你擁有創建創新且靈活的頁面佈局的信心和知識。你還將學習如何使用最新的 CSS3 技術創建圓角、陰影和漸層,而無需使用圖片。
你將學到什麼
- 教你如何設計吸引人且靈活的網頁
- 實作練習展示如何結合樣式規則以達成不同效果
- 全面涵蓋 CSS2.1 和 CSS3 的穩定部分
本書適合誰
Beginning CSS3 針對希望掌握使用層疊樣式表來設計和佈局現代網頁的網頁設計師。它教授核心概念,例如 CSS 盒模型和選擇最合適的選擇器以有效應用樣式。這使得它成為完全初學者和希望提高對 CSS 理解的網頁設計師的絕佳選擇。
目錄
- 介紹 CSS - 網頁設計的語言
- 使用基本選擇器
- 指定大小、顏色和檔案
- 樣式化文本
- 嵌入網頁字型
- 理解 CSS 盒模型的佈局
- 浮動元素以進行佈局
- 添加背景
- 添加邊框和陰影
- 樣式化列表和導航菜單
- 精確定位元素
- 跨瀏覽器佈局技術
- 使用進階選擇器
- 樣式化表格
- 生成內容
- 創建列印樣式表
- 使用媒體查詢針對不同設備的樣式
- 使用 CSS3 多欄佈局
- 創建無圖片的漸層
- 2D 轉換和過渡
- 使用 CSS 關鍵幀動畫元素
- 接下來該怎麼做?