Skip to main content

Harshal V. LADHE

Advanced CSS Border Styling

Techniques for styling element borders beyond a flat color, including gradients, images, and animated effects using modern CSS.

Content tagged borders

  • Snippet:SVG Marching Ants Border for Drop Zones and Selections

    Animate a marching dashed SVG border around any box.
    Build a marching ants border with an SVG rect and stroke-dashoffset: a seamless loop, a crisp overlay for any box size, and reduced-motion support.
    Published at:
    Categories:SVG
    Estimated reading time:7 min read
  • Post:CSS Gradient Borders: Complete Guide with Techniques & Examples

    Build gradient borders using modern CSS techniques
    A complete guide to CSS gradient borders using border-image, background-clip, mask, conic and radial gradients, @property animations, and a reusable SCSS mixin with real-world examples.
    Published at:
    Categories:CSS
    Estimated reading time:17 min read