Feedback

Please feel free to post your comments about this book below! From identifying typos to writing reviews, your feedback can help Ben Frain improve this book for you and your fellow readers.

Leanpub book comments powered by Disqus.

About the Book

This is a book to deal with writing CSS for large-scale, rapidly changing web projects and applications.

This isn't actually a book about writing CSS, as in the stuff inside the curly braces. It's a book about the organisation and architecture of CSS; the parts outside the braces. It's the considerations that can be happily ignored on smaller projects but actually become the most difficult part of writing CSS in larger projects.

Here are some of the topics covered in the book:

- The problems of CSS at scale: specificity, the cascade and styles intrinsically tied to element structure.

- The shortfalls of conventional approaches to scaling CSS.

- The ECSS methodology and the problems it solves.

- How to develop consistent and enforceable selector naming conventions with ECSS.

- How to organise project structure to more easily isolate and decouple visual components.

- How to handle state changes in the DOM with ARIA or override selectors.

- How to apply ECSS to web applications and visual modules.

- Considerations of CSS tooling and processing: Sass/PostCSS and linting.

- Addressing the practicalities of using potentially problematic HTML elements.

- Addressing the notion of CSS selector speed with hard data and browser representative insight.


About the Author

Ben Frain’s avatar Ben Frain

@benfrain

Ben Frain is a UI/UX Technical Lead at bet365.com. He is also the author of two existing books 'Responsive Web Design with HTML5 and CSS3' and 'Sass and Compass for Designers', both published by Packt Publishing.

He lives in Cheshire, England with his wife and two children.

You can follow him on Twitter at http://twitter.com/benfrain and at his site http://benfrain.com

Logo white 96 67 2x

Publish Early, Publish Often

  • Path
  • There are many paths, but the one you're on right now on Leanpub is:
  • Author › Book
    • READERS
    • Newsletters
    • Weekly Sale
    • Monthly Sale
    • Store
    • Home
    • Redeem a Token
    • Search
    • Support
    • Leanpub FAQ
    • Leanpub Author FAQ
    • Search our Help Center
    • How to Contact Us
    • FRONTMATTER PODCAST
    • Featured Episode
    • Episode List
    • COMPANY
    • About
    • About Leanpub
    • Blog
    • Contact
    • Press
    • Essays
    • Climate Change
    • Simplifying
    • Manifesto
    • COVID-19
    • More
    • Causes
    • Accessibility
    • AUTHORS
    • Write and Publish on Leanpub
    • Create a Book
    • Create a Course
    • Testimonials
    • Why Leanpub
    • Author Newsletter
    • The Leanpub Author Update
    • Author Support
    • Author Help Center
    • Leanpub Authors Forum
    • The Leanpub Manual
    • Supported Languages
    • The LFM Manual
    • Markua Manual
    • Developer Support
    • API Docs
    • Companies
    • Company Program
    • Create a Company
    • Universities
    • Universities Program
    • LEGAL
    • Terms of Service
    • Copyright Policy
    • Privacy Policy

Leanpub is copyright © 2010-2021 Ruboss Technology Corp. All rights reserved.

Leanpub requires cookies in order to provide you the best experience. Dismiss