Practical Tips for Working with CSS Variables
A developer shares practical strategies for effectively using CSS custom properties, covering variable types, scoping, and fallback values.
Michelle Barker is a front-end developer and writer behind CSS { In Real Life }, a blog dedicated to modern CSS and real-world web development. She shares honest, practical insights on evolving CSS features, front-end techniques, and the web community.
227 articles from this blog
A developer shares practical strategies for effectively using CSS custom properties, covering variable types, scoping, and fallback values.
An introduction to Gatsby, a React-based static site generator, covering its setup, CSS options, and plugin ecosystem for building fast websites.
A technical guide to creating CSS Grid layouts with aspect-ratio cells using CSS variables and the padding hack.
Explains how to use the CSS Grid minmax() function to create flexible, responsive layouts without media queries.
A tutorial on using CSS pseudo-elements as child items within a CSS Grid layout to create complex designs like hero sections with aligned sidebars.
Explores combining CSS Variables with CSS Grid to create dynamic, responsive layouts with cleaner, more maintainable code.
A junior front-end developer shares lessons on teamwork, communication, and tools for integrating into a new tech team.