CSS Tricks You Gotta Love
summary
Shows concrete recipes: keep aspect ratio with percentage padding so squares scale reliably, use @supports queries to gate features, prefer the drop-shadow filter for GPU-accelerated icon shadows over box-shadow, manage many elements with CSS custom properties instead of JS, produce reversed vertical text with writing-mode plus transform scaleX(-1), enable smooth scrolling with scroll-behavior: smooth, pass clicks through overlays using pointer-events: none, and build a CSS parallax with perspective:1px and translateZ that actually moves.
AI-written summary · about








