Skip to main content

Harshal V. LADHE

Modern CSS Features of 2025

Recently supported CSS features and units worth adopting now, from dynamic viewport units to conditional values.

Content tagged css-2025

  • Tutorial:The CSS shape() Function: Responsive clip-path Shapes

    Cut responsive curved shapes with CSS shape() and clip-path.
    Draw responsive clip-path shapes with the CSS shape() function: lines, curves and arcs in %, calc() and custom properties, plus browser support and fallbacks.
    Published at:
    Categories:CSS
    Estimated reading time:11 min read
  • Tutorial:Pure CSS Carousels with ::scroll-marker and ::scroll-button()

    Build carousel dots and arrows with pure CSS.
    Build CSS-only carousel dots and prev/next arrows with ::scroll-marker, ::scroll-button() and :target-current: no JavaScript, plus accessibility and fallbacks.
    Published at:
    Categories:CSS
    Estimated reading time:9 min read
  • Tutorial:Animating height: auto in CSS with interpolate-size

    Animate height to auto in pure CSS, no JavaScript.
    Animate height: auto in CSS with interpolate-size and calc-size(): smooth accordions and details panels without JavaScript, plus fallbacks and reduced motion.
    Published at:
    Categories:Animations
    Estimated reading time:9 min read
  • Tutorial:Auto-Growing Textareas with CSS field-sizing: content

    Auto-grow textareas with one line of CSS, no JavaScript.
    Make a textarea grow and shrink with its text using CSS field-sizing: content: no scrollHeight JavaScript, plus size limits, fallbacks and browser support.
    Published at:
    Categories:CSS
    Estimated reading time:8 min read
  • Tutorial:CSS Custom Functions with @function: Reusable Logic Without Sass

    Native, reusable CSS functions with parameters — no Sass needed.
    Define native CSS custom functions with @function: typed parameters, defaults, fallbacks for older browsers, how they differ from Sass, and when to use them.
    Published at:
    Categories:CSS
    Estimated reading time:10 min read