Similar authors to follow
See more recommendations
About Eric A. Meyer
A longtime resident of Cleveland, Ohio--which is a much nicer city than you've been led to believe--Eric used to be a weekly radio presence on WRUW 91.1-FM with a show covering the Big Band era. He now spends most of his free time reading, searching out great dishes, and playing with his wife and daughters.
Customers Also Bought Items By
If you’re a web designer or app developer interested in sophisticated page styling, improved accessibility, and saving time and effort, this book is for you. This revised edition provides a comprehensive guide to CSS implementation, along with a thorough review of the latest CSS specifications.
CSS is a constantly evolving language for describing the presentation of web content on screen, printers, speech synthesizers, screen readers, and chat windows. It is used by all browsers on all screen sizes on all types of IoT devices, including phones, computers, video games, televisions, watches, kiosks, and auto consoles. Authors Eric Meyer and Estelle Weyl show you how to improve user experience, speed development, avoid potential bugs, and add life and depth to your applications through layout, transitions and animations, borders, backgrounds, text properties, and many other tools and techniques.
This guide covers:
- Selectors, specificity, and the cascade
- Values, units, fonts, and text properties
- Padding, borders, outlines, and margins
- Colors, backgrounds, and gradients
- Floats and positioning tricks
- Flexible box layout
- The new Grid layout system
- 2D and 3D transforms, transitions, and animation
- Filters, blending, clipping, and masking
- Media and feature queries
When you’re working with CSS and need an answer now, this concise yet comprehensive quick reference provides the essential information you need. Revised and updated for CSS3, this fifth edition is ideal for intermediate to advanced web designers and developers.
You’ll find a short introduction to the key concepts of CSS and alphabetical summaries of CSS selectors and properties. You’ll also discover information on new properties, including grid, flexbox, clipping, masking, and compositing.
- Quickly find the information you need
- Explore CSS concepts, values, selectors and queries, and properties
- Learn how new features complement and extend your CSS practices
- Discover new properties including animations, grid, flexbox, masking, filtering, and compositing in this new edition
Nearly everything you do with CSS involves units for determining the look and formatting of your web page elements. With this concise guide, you’ll learn how to work with an array of units—including measurements and keywords—that help you define color, text, distance between elements, location of external files, and other values.
This book contains chapters from the upcoming fourth edition of CSS: The Definitive Guide. When you purchase either the print or the ebook edition of Values, Units, and Colors, you’ll receive a significant discount on the entire Definitive Guide when it’s released. Why wait when you can learn how to use units and other key CSS3 features right away?
- Use RGB or HSL values to mix your own colors, and designate the degree of opacity
- Learn how to apply global keywords introduced in CSS3
- Use string values to wrap a sequence of text characters in quotes
- Describe margins, letter spacing, and other properties, with either fixed or relative length units
- Understand how number, integer, and percentage values differ
- Explore CSS3 unit types for describing display resolution
- Use time values for transitions and animations
They say that good things come in small packages, and it's certainly true for this edition of CSS Pocket Reference. Completely revised and updated to reflect the latest Cascading Style Sheet specifications in CSS 2.1, this indispensable little book covers the most essential information that web designers and developers need to implement CSS effectively across all browsers.
Inside, you'll find:
- A short introduction to the key concepts of CSS
- A complete alphabetical reference to all CSS 2.1 selectors and properties
- A chart displaying detailed information about CSS support for every style element and its cross-browser compatibility
Some aspects of the CSS formatting model may seem counterintuitive at first, but as you’ll learn in this practical guide, the more you work with these features, the more they make sense. Author Eric Meyer gives you a good grounding in CSS visual rendering, from element box rules and concepts to the specifics of managing tricky layouts for block-level and inline elements.
Short and sweet, this book is an excerpt from the upcoming fourth edition of CSS: The Definitive Guide. When you purchase either the print or the ebook edition of Basic Visual Formatting in CSS, you’ll receive a discount on the entire Definitive Guide once it’s released. Why wait? Learn how to bring life to your web pages now.
- Learn the details of element box types, including block, inline, inline-block, list-item, and run-in boxes
- Change the type of box an element generates, from inline to block, or list-item to inline
- Dive into the complexities of horizontal and vertical block-box formatting
- Explore key concepts of inline layout: anonymous text, em box, content area, leading, inline box, and line box
- Understand formatting differences between nonreplaced and replaced inline elements
Exactly how does the "cascade" in Cascading Style Sheets work? This concise guide demonstrates the power and simplicity of CSS selectors for applying style rules to different web page elements. You’ll learn how your page’s presentation depends on a multitude of style rules and the complex ways they function—and sometimes collide—within the document’s structure.
This guide is a chapter from the upcoming fourth edition of CSS: The Definitive Guide. When you purchase either the print or the ebook edition of Selectors, Specificity, and the Cascade, you’ll receive a significant discount on the entire Definitive Guide when it’s released. Why wait when you can learn how to use selectors and other key CSS 3 features right away?
- Learn how to create CSS rules that apply to a large number of similar elements
- Group rules to make style sheets smaller and download times faster
- Understand how elements inherit styles from their parents
- Discover how reader and browser preferences affect your page presentation
- Examine specificity—the method browsers use to choose between two conflicting style rules
- Get a handle on how specificity and inheritance combine to form the cascade
- Get details on all of the CSS3 selectors
The Grid Layout spec will soon change your approach to website design, but there will still be plenty of uses for CSS positioning tricks. Whether you want to create sidebars that remain in the viewport (browser window), add sticky section headings to lists or long articles, or overlap one element with another, this concise ebook will expertly guide you through all the main CSS positioning types.
Short and deep, this book is an excerpt from the upcoming fourth edition of CSS: The Definitive Guide. When you purchase either the print or the ebook edition of Positioning in CSS, you’ll receive a discount on the entire Definitive Guide once it’s released. Why wait? Make your web pages come alive today.
You'll learn how to:
- Remove an element from a document but keep its new position part of the document’s flow with absolute positioning
- Keep an element like a masthead or sidebar in one fixed position in the viewport with fixed positioning
- Preserve an element’s shape and the space it occupied in the document with relative positioning
- Make a document’s headers selectively stay still in response to scrolling conditions with sticky positioning
Eric A. Meyer is an author, speaker, blogger, sometime teacher, and co-founder of An Event Apart. He’s a two-decade veteran of the Web and web standards, a past member of the W3C’s Cascading Style Sheets Working Group, and the author of O’Reilly’s CSS: The Definitive Guide.
As a web designer, you probably spend more time working with text than any other element. With this concise guide, you’ll learn CSS3 properties for changing the appearance of text without altering the font face—including horizontal and vertical alignment, text transformation, word and letter spacing, text wrapping, and the direction of text flow.
This book is an excerpt from the upcoming fourth edition of CSS: The Definitive Guide. When you purchase either the print or the ebook edition of CSS Text, you’ll receive a discount on the entire Definitive Guide once it’s released. Why wait, when you can start manipulating text on your pages right away?
- Use properties for indenting and aligning lines of text
- Control the leading between lines of text beyond the font’s size
- Change the amount of space between words and individual characters
- Add underlines, overlines, strike-throughs, shadows, and other effects
- Instruct browsers to prioritize speed, legibility, or geometric precision when rendering text
- Learn how and when to suppress automatic hyphenation
- Determine the direction that text flows, including left-to-right and top-to-bottom
Isn’t table layout something web designers want to avoid? Yes, but rather than use tables for layout, this book is about the ways that tables themselves are laid out by CSS, a process more complicated than it appears. This concise guide takes you on a deep dive into the concepts necessary for understanding CSS and tables in your web layout, including table formatting, cell alignment, and table width.
Short and deep, this book is an excerpt from the upcoming fourth edition of CSS: The Definitive Guide. When you purchase either the print or the ebook edition of Table Layout in CSS, you’ll receive a discount on the entire Definitive Guide once it’s released. Why wait? Make your web pages come alive today.
- Formatting—learn how elements such as display values, anonymous objects, and table layers relate to each other when you assemble CSS tables
- Cell border appearance—understand two distinct approaches (the separated model and the collapsed model) that govern how (or if) borders merge
- Table sizing—determine table width by using either a fixed- or automatic-width layout, and learn how heights are calculated
While flowing text around images is certainly nothing new, with CSS you can float any element, from images to paragraphs to lists. In this practical guide, author Eric Meyer reveals some interesting—and surprising—ways to use CSS floats in your web design, including the latest capability to flow content past non-rectangular float shapes.
Short and sweet, this book is an excerpt from the upcoming fourth edition of CSS: The Definitive Guide. When you purchase either the print or the ebook edition of CSS Floating, you’ll receive a discount on the entire Definitive Guide once it’s released. Why wait? Learn how to bring life to your web pages now.
- Learn the characteristics of floated elements, and CSS rules for using them
- Be aware of certain rule exceptions when applying floats to your design, including the use of negative margins
- Use the clear property to prevent floats from affecting elements in the next section of the document
- Create floating boxes in non-rectangular shapes, including rounded corners, circles, ellipses, and even polygons
- Define float shapes with transparent or opaque images
The ability to apply margins, borders, and padding to any web page element is one of the things that sets CSS so far above traditional markup. With this practical guide, you will not only learn how to use these properties to lay out your document, but also how to change and control the appearance of any element on the page.
Short and sweet, this short book is an excerpt from the upcoming fourth edition of CSS: The Definitive Guide. When you purchase either the print or the ebook edition of Padding, Borders, Outlines, and Margins in CSS, you’ll receive a discount on the entire Definitive Guide once it’s released. Why wait? Learn how to bring life to your web pages now.
- Understand the CSS box model, including the way different properties relate to one another
- Use tricks for defining padding values, including inline element padding
- Explore border width, style, and color, plus the use of border images
- Learn how to use outlines: presentational elements that won’t affect layout
- Dive into the use of margins, including the way top and bottom margins collapse
When you're working with CSS and need a quick answer, CSS Pocket Reference delivers. This handy, concise book provides all of the essential information you need to implement CSS on the fly. Ideal for intermediate to advanced web designers and developers, the 4th edition is revised and updated for CSS3, the latest version of the Cascading Style Sheet specification. Along with a complete alphabetical reference to CSS3 selectors and properties, you'll also find a short introduction to the key concepts of CSS.
Based on Cascading Style Sheets: The Definitive Guide, this reference is an easy-to-use cheatsheet of the CSS specifications you need for any task at hand. This book helps you:
- Quickly find and adapt the style elements you need
- Learn how CSS3 features complement and extend your CSS practices
- Discover new value types and new CSS selectors
- Implement drop shadows, multiple backgrounds, rounded corners, and border images
- Get new information about transforms and transitions