CSS in Depth, Second Edition
eBook - ePub

CSS in Depth, Second Edition

  1. 544 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

CSS in Depth, Second Edition

About this book

To create web designs that delight, entertain, and impress your users, you need to know CSS in depth! Getting good—really good—at CSS means learning everything that CSS is capable of. This totally revised new edition of CSS in Depth expands your CSS skills with the patterns, layouts, and methods you need to deliver truly beautiful front ends. In CSS in Depth, Second Edition you will learn how to: • Create a web page with layout methods
• Develop essential website components, like dropdown menus and dialog boxes
• Make your website fully responsive across devices
• Organize your CSS for easy future maintenance
• Implement designer mockups with attention to detail
• Use animations to guide user focus
• Avoid common CSS pitfalls The more you know about CSS, the more confident you'll be at tackling any tricky website design! CSS in Depth has given thousands of web developers the tools and the inspiration to make sites that really pop. This second edition is packed with the latest best practices, new CSS language features, and essential advice on how to organize and maintain your CSS codebase. Foreword by Chris Coyier. About the technology To deliver truly beautiful frontends, you need to know CSS inside and out. And as CSS grows and matures, even experienced CSS developers will find a whole new set of skills to catch up on! This guide will help you discover everything that CSS is capable of—from the must-knows and brand-new features to the hidden insights you won't find anywhere else! About the book CSS in Depth, Second Edition, deep dives into the CSS techniques used by the world's most skilled web developers. Inside, you'll learn how to build and organize a modular CSS codebase that's easy to understand, maintain, and reuse. This new edition is fully revised to cover the CSS standard's latest additions, including cascade layers, logical properties, new color functions, subgrid, and container queries. What's inside • Vertical centering, margin collapsing, and positioning
• Dropdown menus and modal dialog boxes
• Animations to guide user focus
• Avoiding common CSS pitfalls About the reader Written for web developers who know the basics of CSS and HTML. About the author Keith J. Grant is a Principal Software Engineer at Red Hat, where he works on front-end code for the Ansible Controller web application using JavaScript and CSS. The technical editor on this book was Chris Chinchilla. Table of Contents PART 1
1 Cascade, specificity, and inheritance
2 Working with relative units
3 Document flow and the box model
PART 2
4 Flexbox
5 Grid layout
6 Positioning and stacking contexts
7 Responsive design
PART 3
8 Cascade layers and nesting
9 Modular CSS and scope
10 Container queries
PART 4
11 Color and contrast
12 Typography and spacing
13 Gradients, shadows, and blend modes
14 Masks, shapes, and clipping
PART 5
15 Transitions
16 Transforms
17 Animations
APPENDIXES
A Selectors reference
B Preprocessors

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access CSS in Depth, Second Edition by Keith J. Grant in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in HTML. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Praise for the first edition
  2. CSS in Depth, Second Edition
  3. copyright
  4. contents
  5. foreword
  6. preface
  7. acknowledgments
  8. about this book
  9. about the author
  10. about the cover illustration
  11. Part 1 Reviewing the fundamentals
  12. 1 Cascade, specificity, and inheritance
  13. 2 Working with relative units
  14. 3 Document flow and the box model
  15. Part 2 Mastering layout
  16. 4 Flexbox
  17. 5 Grid layout
  18. 6 Positioning and stacking contexts
  19. 7 Responsive design
  20. Part 3 Modern code organization
  21. 8 Cascade layers and nesting
  22. 9 Modular CSS and scope
  23. 10 Container queries
  24. Part 4 Visual enhancements
  25. 11 Color and contrast
  26. 12 Typography and spacing
  27. 13 Gradients, shadows, and blend modes
  28. 14 Masks, shapes, and clipping
  29. Part 5 Adding motion
  30. 15 Transitions
  31. 16 Transforms
  32. 17 Animations
  33. appendix A Selectors reference
  34. appendix B Preprocessors
  35. index