Book description
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
Publisher resources
Table of contents
- Preface
- 1. CSS and Documents
- 2. Selectors
- 3. Specificity and the Cascade
- 4. Values and Units
- 5. Fonts
- 6. Text Properties
-
7. Basic Visual Formatting
- Basic Boxes
- Altering Element Display
-
Inline Elements
- Line Layout
- Basic Terms and Concepts
- Inline Formatting
- Inline Nonreplaced Elements
- Building the Boxes
- Vertical Alignment
- Managing the line-height
- Scaling Line Heights
- Adding Box Properties
- Changing Breaking Behavior
- Glyphs Versus Content Area
- Inline Replaced Elements
- Adding Box Properties
- Replaced Elements and the Baseline
- Inline-Block Elements
- Flow Display
- Contents Display
- Other Display Values
- Computed Values
- Summary
- 8. Padding, Borders, Outlines, and Margins
- 9. Colors, Backgrounds, and Gradients
- 10. Floating and Shapes
- 11. Positioning
-
12. Flexible Box Layout
- Flexbox Fundamentals
- Flex Containers
- Arranging Flex Items
- Flex Container
- Justifying Content
- Aligning Items
- The align-self Property
- Aligning Content
- Flex Items
- Flex-Item–Specific Properties
- The flex Property
- The flex-grow Property
- The flex-shrink Property
- The flex-basis Property
- The flex Shorthand
- The order property
- 13. Grid Layout
- 14. Table Layout in CSS
- 15. Lists and Generated Content
- 16. Transforms
- 17. Transitions
- 18. Animation
- 19. Filters, Blending, Clipping, and Masking
- 20. Media-Dependent Styles
- A. Animatable Properties
- B. Basic Property Reference
- C. Color Equivalence Table
- Index
- About the Authors
Product information
- Title: CSS: The Definitive Guide, 4th Edition
- Author(s):
- Release date: October 2017
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449325084
You might also like
book
CSS: The Definitive Guide, 5th Edition
If you're a web designer or app developer interested in sophisticated page styling, improved accessibility, and …
book
Head First HTML and CSS, 2nd Edition
Tired of reading HTML books that only make sense after you're an expert? Then it's about …
book
HTML & CSS: Design and Build Websites
A full-color introduction to the basics of HTML and CSS from the publishers of Wrox! Every …
book
JavaScript: The Definitive Guide, 7th Edition
JavaScript is the programming language of the web and is used by more software developers today …