Sass @use and @forward: A Collision-Free Token API
Use Sass modules to namespace design tokens, expose a small public API with @forward, and configure themes without editing token source.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Use Sass modules to namespace design tokens, expose a small public API with @forward, and configure themes without editing token source.
Tailwind's arbitrary value syntax lets you inject runtime colors, spacing, and shadows into utility classes without abandoning the utility-first workflow.
Container Queries let UI components respond to their parent's size instead of the viewport. This post shows how to opt in with container-type, a worked card example that flips layout at 350px, and the performance and stacking-context trade-offs you'll hit in production.
Sass @import creates a global namespace where variables, mixins, and functions collide. Learn how @use and @forward enforce explicit dependencies, cache modules, and define a clear public API.
Learn how to implement translucent toolbars and sheets in Safari using backdrop-filter, including the required -webkit- prefix, stacking context pitfalls, and a readable fallback for unsupported contexts.
Use PostCSS with Autoprefixer to add vendor prefixes automatically based on Browserslist targets, then verify the output before deployment.
Learn how to add custom spacing, color, or typography utilities to Bootstrap 5 using its Sass Utility API, with a step‑by‑step example and notes on recompilation and naming conflicts.
Learn how Less’s @import (reference) and (inline) options let you share variables and mixins without emitting duplicate CSS. A clear example, trade‑offs, and a practical checklist help you keep your builds clean and predictable.
Explore how Firefox uses the Rust-based Stylo engine to move CSS style computation from a single-threaded bottleneck to a parallelized process across multiple CPU cores.