Skip to main content

Harshal V. LADHE

CSS Browser Support and Compatibility

Checking feature support across browsers and writing CSS that degrades gracefully where a property or value isn't yet available.

Content tagged browser-support

  • Post:CSS Cascade Layers (@layer): End Specificity Wars in Large Codebases

    Control CSS priority with layer order, not specificity.
    Learn how CSS cascade layers (@layer) set priority by layer order instead of specificity — unlayered styles, the !important reversal, revert-layer, layering third-party CSS, the full cascade sort order, migrating a large codebase and putting utility classes last.
    Published at:
    Categories:CSS
    Estimated reading time:20 min read
  • Post:CSS Container Queries Deep Dive: Named Containers, cqi Units, and Style Queries

    Make components respond to their container, not the viewport.
    Go beyond basic @container: inline-size vs size containment, named containers, cqi/cqb/cqmin/cqmax units, and style queries, with diagrams and a live sandbox.
    Published at:
    Categories:CSS
    Estimated reading time:25 min read
  • Tutorial:Conditional CSS Values with the if() Function

    Swap CSS values by media, supports, or style conditions.
    The if() function picks between several values inside one CSS declaration based on a media(), supports(), or style() condition — collapsing what used to require duplicating an entire rule under @media/@supports, or a JS class toggle, into one line, with a fallback for browsers that don't support it yet.
    Published at:
    Categories:CSS
    Estimated reading time:6 min read
  • Post:CSS Gradient Text Guide: Background-Clip, Animation & Advanced Tricks

    Create stunning gradient text effects with CSS
    Learn how to create CSS gradient text using background-clip, animation, stroke effects, @property, multi-line fixes, and accessible, responsive techniques with real-world examples.
    Published at:
    Categories:CSS
    Estimated reading time:21 min read
  • Post:An Interactive Guide to CSS Keyframes

    Bring static designs to life with keyframes
    Master multi-step CSS animations using @keyframes. Learn control, performance, GPU optimization, and advanced web motion.
    Published at:
    Categories:Animations
    Estimated reading time:22 min read