Book description
CSS has grown from a language for formatting documents into a robust language for designing web applications. Its syntax is easy to learn, making CSS a great entry point for those new to programming. Indeed, it's often the second language that developers learn, right behind HTML.
As CSS's feature set and abilities have grown, so has its depth. This book is a collection of articles that explore some of the amazing thngs that developers can do with CSS today; things that in the past might only have been achievable with some pretty complex JavaScript previously, if at all. It contains:
- Using CSS Transforms in the Real World by Craig Buckler
- Variable Fonts: What They Are, and How to Use Them by Claudio Ribeiro
- Scroll Snap in CSS: Controlling Scroll Action by Tiffany B. Brown
- Real World Use of CSS with SVG by Craig Buckler
- CSS and PWAs: Some Tips for Building Progressive Web Apps by David Attard
- 20 Tips for Optimizing CSS Performance by Craig Buckler
- Advanced CSS Theming with Custom Properties and JavaScript by Ahmed Bouchefra
This book is for developers with some experience of CSS.
Publisher resources
Table of contents
- Modern CSS
- Notice of Rights
- Notice of Liability
- Trademark Notice
- About SitePoint
- Preface
- Chapter 1: Using CSS Transforms in the Real World
- Chapter 2: Variable Fonts: What They Are, and How to Use Them
- Chapter 3: Scroll Snap in CSS: Controlling Scroll Action
- Chapter 4: Real World Use of CSS with SVG
- Chapter 5: CSS and PWAs: Some Tips for Building Progressive Web Apps
-
Chapter 6: 20 Tips for Optimizing CSS Performance
- by Craig Buckler
- 1. Learn to Use Analysis Tools
- 2. Make Big Wins First
- 3. Replace Images with CSS Effects
- 4. Remove Unnecessary Fonts
- 5. Avoid @import
- 6. Concatenate and Minify
- 7. Use Modern Layout Techniques
- 8. Reduce CSS Code
- 9. Cling to the Cascade!
- 10. Simplify Selectors
- 11. Be Wary of Expensive Properties
- 12. Adopt CSS Animations
- 13. Avoid Animating Expensive Properties
- 14. Indicate Which Elements Will Animate
- 15. Adopt SVG Images
- 16. Style SVGs with CSS
- 17. Avoid Base64 Bitmap Images
- 18. Consider Critical CSS
- 19. Consider Progressive Rendering
- 20. Learn to Love CSS
- Chapter 7: Advanced CSS Theming with Custom Properties and JavaScript
Product information
- Title: Modern CSS
- Author(s):
- Release date: October 2018
- Publisher(s): SitePoint
- ISBN: 9781925836189
You might also like
book
Modern CSS with Tailwind
Tailwind CSS is an exciting new CSS framework that allows you to design your site by …
book
CSS in Depth
CSS in Depth exposes you to a world of CSS techniques that range from clever to …
video
CSS in Depth in Motion
By mastering CSS, you can make your pages more attractive, your code more readable, and your …
book
Modern CSS: Master the Key Concepts of CSS for Modern Web Development
Come on a tour of “modern” CSS in 2020. This example-driven book demonstrates the concepts by …