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.
Author(s): David Powers (auth.)
Edition: 1
Publisher: Apress
Year: 2012
Language: English
Pages: 568
Tags: Computer Science, general
Front Matter....Pages i-xxv
Front Matter....Pages 1-1
Introducing CSS—the Language of Web Design....Pages 3-15
Using Basic Selectors....Pages 17-37
Specifying Sizes, Colors, and Files....Pages 39-49
Front Matter....Pages 51-51
Styling Text....Pages 53-77
Embedding Web Fonts....Pages 79-93
Front Matter....Pages 95-95
Understanding the CSS Box Model....Pages 97-129
Floating Elements for Layout....Pages 131-154
Adding Backgrounds....Pages 155-187
Adding Borders and Drop Shadows....Pages 189-216
Styling Lists and Navigation Menus....Pages 217-236
Positioning Elements Precisely....Pages 237-266
Cross-Browser Layout Techniques....Pages 267-298
Front Matter....Pages 299-299
Using Advanced Selectors....Pages 301-321
Styling Tables....Pages 323-349
Generated Content....Pages 351-372
Creating a Print Style Sheet....Pages 373-387
Targeting Styles with Media Queries....Pages 389-414
Using CSS3 Multi-Column Layout....Pages 415-426
Creating Gradients Without Images....Pages 427-443
2D Transforms and Transitions....Pages 445-474
Front Matter....Pages 299-299
Animating with CSS Keyframes....Pages 475-490
What Next?....Pages 491-525
Back Matter....Pages 527-539