CSS3可以讓你創(chuàng)建專業(yè)外觀的網(wǎng)站,但是學習它的細節(jié)會十分麻煩即使是資深web開發(fā)人員也是如此。這本《CSS3實戰(zhàn)手冊》通過有價值的提示、技巧和一步步的指導為你展示了如何來提升你的html和CSS技能。你將快速掌握如何搭建那些非常好看而且在任意尺寸屏幕和設(shè)備上都能迅速執(zhí)行的網(wǎng)頁。
《CSS3實戰(zhàn)手冊(影印版全面修訂第3版)》由麥克法蘭編著。
層疊樣式表(CSS)能讓你內(nèi)心的設(shè)計思想迸發(fā)出來并得以實現(xiàn)。不過,將CSS與網(wǎng)站底層的html頁面進行整合是一件非常困難的工作,有時甚至復雜得令人沮喪這導致多數(shù)Web設(shè)計者不得不放棄一些奇思妙想。
麥克法蘭編著的《CSS3實戰(zhàn)手冊(影印版全面修訂第3版)》可以消除Web設(shè)計工作的痛苦,并且?guī)Ыo你:HTML重新入門。如果你是HTML新手,你會學到如何以CSS友好的方式進行基本頁面構(gòu)造。若你是HTML高手,你將學會如何像CSS設(shè)計者那樣思考。
(美)麥克法蘭
David Sawyer McFarland是位于俄勒岡州波特蘭的一家網(wǎng)站開發(fā)和培訓公司即Sawyer McFarland Media, Inc.的總裁。他從1995年開始創(chuàng)建網(wǎng)站,當時他設(shè)計的第一個網(wǎng)站是針對通訊專家的一本在線雜志。他曾經(jīng)是位于伯克利的加利福尼亞大學和伯克利多媒體研究中心的網(wǎng)站管理員,并對Macworld.com基于CSS驅(qū)動的重新設(shè)計進行了完整的監(jiān)控。
The Missing Credits
Introduction
Part One: CSS Basics
CHAPTER 1: HTMLforCSS
HTML: Past and Present
Writing HTML for CSS
The Importance of the Doctype
Making Sure Internet Explorer Is Up-to-Date
CHAPTER 2: Creating Styles and Style Sheets
Anatomy of a Style
Understanding Style Sheets
Internal Style Sheets
External Style Sheets
Tutorial: Creating Your First Styles
CHAPTER 3: Selectors: Identifying What to Style ...
Tag Selectors: Page-Wide Styling
Class Selectors: Pinpoint Control
ID Selectors: Specific Page Elements
Styling Groups of Tags
Styling Tags Within Tags
Pseudo-Classes and Pseudo-Elements
Attribute Selectors
Child Selectors
Siblings
The :not( ) Selector
Tutorial: Selector Sampler
CHAPTER 4: Saving Time with Style Inheritance
What Is Inheritance?
How Inheritance Streamlines Style Sheets
The Limits of Inheritance
Tutorial: Inheritance
CHAPTER 5: Managing Multiple Styles: The Cascade
How Styles Cascade
Specificity: Which Style Wins
Controlling the Cascade
Tutorial: The Cascade in Action
Part Two: Applied CSS
CHAPTER 6: Formatting Text
Using Fonts
Using Web Fonts
Discovering Google Web Fonts
Adding Color to Text
Changing Font Size
Formatting Words and Letters
Adding Text Shadow
Formatting Entire Paragraphs
Styling Lists
Tutorial: Text Formatting in Action
CHAPTER 7: Margins, Padding, and Borders
Understanding the Box Model
Controling Space with Margins and Padding
Adding Borders
Coloring the Background
Creating Rounded Corners
Adding Drop Shadows
Determining Height and Width
Wrapping Content with Floating Elements
Tutorial: Margins, Backgrounds, and Borders
CHAPTER 8: Adding Graphics to Web Pages
Discovering CSS and the Tag
Adding Background Images
Controlling Repetition
Positioning a Background Image
Using Background Property Shorthand
Using Multiple Background Images
Utilizing Gradient Backgrounds
Applying Easy Gradients with Colorzilla
Tutorial: Enhancing Images
Tutorial: Creating a Photo Gallery
Tutorial: Using Background Images
CHAPTER 9: Sprucing Up Your Site's Navigation
Selecting Which Links to Style
Styling Links
Building Navigation Bars
CSS-Style Preloading Rollovers
Styling Particular Types of Links
Tutorial: Styling Links
Tutorial: Creating a Navigation Bar
CHAPTER 10: CSS Transforms, Transitions, and Animations..
Transforms
Transitions
Animations
Tutorial
CHAPTER 11: Formatting Tables and Forms
Using Tables the Right Way
Styling Tables
Styling Forms
Tutorial: Styling a Table
Tutorial: Styling a Form
Part Three: CSS Page Layout
CHAPTER 12: Introducing CSS Layout
Types of Web Page Layouts
How CSS Layout Works
Layout Strategies
CHAPTER 13: Building Float-Based Layouts
Applying Floats to Your Layouts
Overcoming Float Problems
Tutorial: Multiple Column Layouts
CHAPTER 14: Responsive Web Design
Responsive Web Design Basics
Setting Up a Web Page for RWD
Media Queries
Flexible Grids
Fluid Images
Responsive Web Design Tutorial
CHAPTER 15: Positioning Elements on a Web Page
How Positioning Properties Work
Powerful Positioning Strategies
Tutorial: Positioning Page Elements
Part Four: Advanced CSS
CHAPTER 16: CSS for the Printed Page
How Media Style Sheets Work
How to Add Media Style Sheets
Creating Print Style Sheets
Tutorial: Building a Print Style Sheet
CHAPTER 17: Improving Your CSS Habits
Adding Comments
Organizing Styles and Style Sheets
Eliminating Browser Style Interference
Using Descendent Selectors
Trying Different CSS for Internet Explorer
Part Five: Appendixes
APPENDIX A: CSS Property Reference
CSS Values
Text Properties
List Properties
Padding, Borders, and Margins
Backgrounds
Page Layout Properties
Animation, Transform, and Transition Properties
Table Properties
Miscellaneous Properties
APPENDIX B: CSS Resources
References
CSS Help
CSS Tips, Tricks, and Advice
CSS Navigation
CSS Layout
Showcase Sites
CSS Books
CSS Software
Index