Book of CSS3: A Developer's Guide to the Future of Web Design [NOOK Book]


CSS3 is the technology behind most of the eye-catching visuals on the Web. But the docs can be dry, murky, and full of dastardly caveats for inconsistent browser implementations.

This completely updated second edition of the best-selling Book of CSS3 distills the dense technical language of the CSS3 specification into plain English and shows you what CSS3 can do now, in all major browsers. You'll find fully revised coverage of the updated syntax of gradients, grids, and flexible...

See more details below
Book of CSS3: A Developer's Guide to the Future of Web Design

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac

Want a NOOK? Explore Now

NOOK Book (eBook)
$15.49 price
(Save 44%)$27.95 List Price


CSS3 is the technology behind most of the eye-catching visuals on the Web. But the docs can be dry, murky, and full of dastardly caveats for inconsistent browser implementations.

This completely updated second edition of the best-selling Book of CSS3 distills the dense technical language of the CSS3 specification into plain English and shows you what CSS3 can do now, in all major browsers. You'll find fully revised coverage of the updated syntax of gradients, grids, and flexible box layout, as well as all-new chapters on values and sizing, and graphical effects like filter effects and blend modes.

With an abundance of real-world examples and a focus on the principles of good design, The Book of CSS3 will help you expand your CSS skills, as you learn how to:

  • Style text with custom font choices, drop shadows, and other effects
  • Create, position, and resize background images on the fly
  • Spice up static web pages with event-driven transitions and animations
  • Apply 2D and 3D transformations to text and images
  • Use linear and radial gradients to create smooth color transitions
  • Take control of layout with grids, columns, and flexible alignment
  • Tailor a website's appearance to every type of web-capable device
The companion website includes up-to-date browser compatibility charts, links to tutorials and resources, and live CSS3 examples.

The Web can be an ugly place. Make it pretty with The Book of CSS3.

Read More Show Less

Product Details

  • ISBN-13: 9781593273637
  • Publisher: No Starch Press San Francisco, CA
  • Publication date: 5/15/2011
  • Sold by: Barnes & Noble
  • Format: eBook
  • File size: 8 MB

Meet the Author

Peter Gasston has been a web developer for over 12 years in both agency and corporate settings. One of the original contributors to, the leading online destination for CSS3, Gasston is the author of The Modern Web (No Starch Press), and has been published in Smashing Magazine, A List Apart, and .net magazine. He also runs the web development blog Broken Links. He lives in London, England.

Read More Show Less

Table of Contents

The Scope of This Book;
A Quick Note About Browsers and Platforms;
The Appendices and Further Resources;
Chapter 1: Introducing CSS3;
1.1 What CSS3 Is and How It Came to Be;
1.2 Let’s Get Started: Introducing the Syntax;
1.3 Getting Started;
Chapter 2: Media Queries;
2.1 The Advantages of Media Queries;
2.2 Syntax;
2.3 Media Features;
2.4 Summary;
2.5 Media Queries: Browser Support;
Chapter 3: Selectors;
3.1 Attribute Selectors;
3.2 New Attribute Selectors in CSS3;
3.3 The General Sibling Combinator;
3.4 Summary;
3.5 Selectors: Browser Support;
Chapter 4: Pseudo-classes and Pseudo-elements;
4.1 Structural Pseudo-classes;
4.2 Other Pseudo-classes;
4.3 Pseudo-elements;
4.4 Summary;
4.5 DOM and Attribute Selectors: Browser Support;
Chapter 5: Web Fonts;
5.1 The @font-face Rule;
5.2 A “Bulletproof” @font-face Syntax;
5.3 Licensing Fonts for Web Use;
5.4 A Real-World Web Fonts Example;
5.5 More Font Properties;
5.6 OpenType Features;
5.7 Summary;
5.8 Web Fonts: Browser Support;
Chapter 6: Text Effects and Typographic Styles;
6.1 Understanding Axes and Coordinates;
6.2 Applying Dimensional Effects: text-shadow;
6.3 Adding Definition to Text: text-outline and text-stroke;
6.4 More Text Properties;
6.5 Summary;
6.6 Text Effects: Browser Support;
Chapter 7: Multiple Columns;
7.1 Column Layout Methods;
7.2 Column Gaps and Rules;
7.3 Containing Elements within Columns;
7.4 Summary;
7.5 Multiple Columns: Browser Support;
Chapter 8: Background Images and Other Decorative Properties;
8.1 Background Images;
8.2 Image Masks;
8.3 Summary;
8.4 Background Images: Browser Support;
Chapter 9: Border and Box Effects;
9.1 Giving Your Borders Rounded Corners;
9.2 Using Images for Borders;
9.3 Multicolored Borders;
9.4 Adding Drop Shadows;
9.5 Summary;
9.6 Border and Box Effects: Browser Support;
Chapter 10: Color and Opacity;
10.1 Setting Transparency with the opacity Property;
10.2 New and Extended Color Values;
10.3 Matching the Operating System’s Appearance;
10.4 Summary;
10.5 Color and Opacity: Browser Support;
Chapter 11: Gradients;
11.1 Linear Gradients;
11.2 Radial Gradients;
11.3 Multiple Gradients;
11.4 Repeating Gradients in Firefox;
11.5 Summary;
11.6 Gradients: Browser Support;
Chapter 12: 2D Transformations;
12.1 The transform Property;
12.2 rotate;
12.3 translate;
12.4 skew;
12.5 scale;
12.6 Multiple Transformations;
12.7 Transforming Elements with Matrices;
12.8 Reflections with WebKit;
12.9 Summary;
12.10 2D Transformations: Browser Support;
Chapter 13: Transitions and Animations;
13.1 Transitions;
13.2 More Complex Animations;
13.3 Summary;
13.4 Transitions and Animations: Browser Support;
Chapter 14: 3D Transformations;
14.1 3D Elements in CSS;
14.2 Transform Style;
14.3 The Transformation Functions;
14.4 The perspective and perspective-origin Properties;
14.5 The Transformation Origin;
14.6 Showing or Hiding the Backface;
14.7 Summary;
14.8 3D Transformations: Browser Support;
Chapter 15: Flexible Box Layout;
15.1 Triggering the Flexible Box Layout;
15.2 Making the Boxes Flexible;
15.3 Grouping Flexible Boxes;
15.4 Changing Orientation;
15.5 Changing the Order of Flexible Boxes;
15.6 Alignment;
15.7 Same-Axis Alignment;
15.8 Multiple Rows or Columns;
15.9 Cross-Browser Flex Box with JavaScript;
15.10 Stop the Presses: New Syntax;
15.11 Summary;
15.12 Flexible Box Layout: Browser Support;
Chapter 16: Template Layout;
16.1 Setting Up the JavaScript;
16.2 Using position and display to Create Rows;
16.3 Multiple Rows;
16.4 Slots and the ::slot() Pseudo-element;
16.5 Creating Empty Slots;
16.6 Setting Height and Width on Rows and Columns;
16.7 Default Content: The @ Sign;
16.8 Summary;
16.9 Template Layout: Browser Support;
Chapter 17: The Future of CSS;
17.1 Mathematical Operations;
17.2 The Grid Positioning Module;
17.3 Extending the Possibilities of Images;
17.4 Grouping Selectors;
17.5 Constants and Variables;
17.6 WebKit CSS Extensions;
17.7 Haptic Feedback;
17.8 Summary;
17.9 Future CSS: Browser Support;
CSS3 Support in Current Major Browsers;
Media Queries (Chapter 2);
Selectors (Chapter 3);
Pseudo-classes and Pseudo-elements (Chapter 4);
Web Fonts (Chapter 5);
Text Effects and Typographic Styles (Chapter 6);
Multiple Columns (Chapter 7);
Background Images and Other Decorative Properties (Chapter 8);
Border and Box Effects (Chapter 9);
Color and Opacity (Chapter 10);
Gradients (Chapter 11);
2D Transformations (Chapter 12);
Transitions and Animations (Chapter 13);
3D Transformations (Chapter 14);
Flexible Box Layout (Chapter 15);
Template Layout (Chapter 16);
The Future of CSS (Chapter 17);
Online Resources;
CSS Modules;
Browser Support;
Feature Detection and Simulation;
Code-Generation Tools;
Web Fonts;
Other Resources;
About the Technical Reviewer;

Read More Show Less

Customer Reviews

Average Rating 4
( 1 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 Customer Reviews
  • Posted July 21, 2011

    more from this reviewer

    Deep and comprehensive view of the CSS3 specification. A must read.

    I've been slowly working on my "front end" web development for a while and the critical piece to this is being able to leverage CSS better. With the ability to write mobile compatible applications as well, making CSS work for you is even more important. Fortunately, The Book of CSS3 by Peter Gasston gives you a deep and complete view of the CSS3 specification and how to make it work on your sites.

    The author is quick to point out that a lot of the new hype that HTML5 demonstrations show isn't really attributed to the HTML5 specification at all, it's due to the features that CSS3 provides and that browsers are finally starting to implement. This is a key point and springboards the book into a lot of examples covering all the concepts you need when working with CSS: fonts, selectors, box effects, animations, and a lot more.

    This definitely an advanced book. I consider myself an intermediate front end developer, and some of the examples involved were a little beyond my scope of knowledge. There are some assumptions the author makes (you know the difference between a div and a span, but also between bold and strong), so I had to do a little bit of digging at times to get to a fuller understanding of what is going on. However, this isn't that large of an obstacle to tackle and the additional work was worth it.

    The Book of CSS3 gives you a great book in which to familiarize yourself with CSS3. It's examples are great starters to implement in your own sites, and all the topics you need are covered. I highly recommend it to add to your bookshelf of web development books.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)