Skip to main content
  • Book
  • © 2020

Modern CSS

Master the Key Concepts of CSS for Modern Web Development

Apress

Authors:

  • Includes all modern CSS methods, including CSS Grid, and breaks the concepts down into simple explanations

  • Can be used by beginners with no previous CSS experience or developers looking to ‘level up’ their CSS skills

  • Every concept is accompanied by code examples, and a screenshot of how the example is rendered in a browser.

Buy it now

Buying options

eBook USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (13 chapters)

  1. Front Matter

    Pages i-xxii
  2. Introduction to CSS

    • Joe Attardi
    Pages 1-15
  3. CSS Selectors

    • Joe Attardi
    Pages 17-32
  4. Basic CSS Concepts

    • Joe Attardi
    Pages 33-59
  5. Basic Styling

    • Joe Attardi
    Pages 61-78
  6. Backgrounds and Gradients

    • Joe Attardi
    Pages 79-105
  7. Text Styling

    • Joe Attardi
    Pages 107-127
  8. Layout and Positioning

    • Joe Attardi
    Pages 129-156
  9. Transforms

    • Joe Attardi
    Pages 157-184
  10. Transitions and Animations

    • Joe Attardi
    Pages 185-204
  11. Flexbox

    • Joe Attardi
    Pages 205-228
  12. Responsive Design

    • Joe Attardi
    Pages 229-253
  13. CSS Grid

    • Joe Attardi
    Pages 255-280
  14. Wrap Up

    • Joe Attardi
    Pages 281-282
  15. Back Matter

    Pages 283-289

About this book

Come on a tour of “modern” CSS in 2020. This example-driven book demonstrates the concepts by showing code examples, screenshots, and diagrams to help clearly communicate the information.


You'll start with the very basics of CSS: box model, colors, selectors and combinators, and specificity. Then gradually move through more intermediate topics - styling text, positioning, Z-index and stacking contexts, gradients, borders, and then to more advanced topics such as transforms, transitions, animations, flexbox, and CSS grid. Some features are only available in modern browsers (Chrome, Edge, Safari, and Firefox), but information about IE11 compatibility is included where possible.




There is a lot of discussion about how hard CSS is, and how intimidated some people are by it, but it doesn’t have to be this way. Modern CSS uses a logical and understandable approach to break down and clearly explain the ins and outs of CSS.

What You'll Learn

  • Work with the syntax of CSS selectors and calculate specificity
  • Use styling techniques, fonts and text styling
  • Review custom properties (variables)
  • Explore the different ways an element can be transformed
  • Use animating elements with CSS transitions 
  • Position elements using Flexbox layout
  • Understand the basics of responsive design

Who This Book Is For

Anyone who has some experience with HTML, and some CSS, but might not be familiar with some of the newer concepts like flexbox or grid. Also, those looking for a refresher in those areas.



Authors and Affiliations

  • Billerica, USA

    Joe Attardi

About the author

Joe Attardi is a software engineer specializing in front-end development. He has over 15 years’ experience working with JavaScript, HTML, and CSS, and has worked extensively with front-end technologies such as Angular and React. He currently works at Salesforce, and has worked in the past with companies such as Dell and Nortel. He is also the author of Using Gatsby and Netlify CMS (Apress, 2020). He lives in the Boston area with his wife and son. You can find him on Twitter at @JoeAttardi.

Bibliographic Information

  • Book Title: Modern CSS

  • Book Subtitle: Master the Key Concepts of CSS for Modern Web Development

  • Authors: Joe Attardi

  • DOI: https://doi.org/10.1007/978-1-4842-6294-8

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Professional and Applied Computing, Professional and Applied Computing (R0), Apress Access Books

  • Copyright Information: Joe Attardi 2020

  • Softcover ISBN: 978-1-4842-6293-1Published: 07 October 2020

  • eBook ISBN: 978-1-4842-6294-8Published: 06 October 2020

  • Edition Number: 1

  • Number of Pages: XXII, 289

  • Number of Illustrations: 34 b/w illustrations, 220 illustrations in colour

  • Topics: Web Development

Buy it now

Buying options

eBook USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access