Skip to main content

Introducing new learning courses and educational videos from Apress. Start watching

  • 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.

Buying options

eBook USD 29.99
Price excludes VAT (USA)
  • ISBN: 978-1-4842-6294-8
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book USD 37.99
Price excludes VAT (USA)

This is a preview of subscription content, access via your institution.

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 down and clearly explain the ins and outs of CSS.

You will:

  • 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

Keywords

  • css grid
  • css layout
  • styling websites
  • grid layout
  • box layout
  • html element stacking
  • box model

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-1

  • eBook ISBN: 978-1-4842-6294-8

  • Edition Number: 1

  • Number of Pages: XXII, 289

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

  • Topics: Web Development

Buying options

eBook USD 29.99
Price excludes VAT (USA)
  • ISBN: 978-1-4842-6294-8
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book USD 37.99
Price excludes VAT (USA)