Skip to main content

Harshal V. LADHE

Modern Web Layout Techniques and Best Practices

Content focused on the structure and arrangement of web elements, including CSS Grid, Flexbox, and various responsive design techniques.

Content tagged layout

  • 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
  • Post:Mastering CSS z-index: Stacking Contexts, isolation, and Layering Bugs

    Layer confidently with z-index, stacking contexts, and isolation.
    Learn how CSS z-index really works — painting order, stacking contexts, negative z-index, isolation: isolate, the top layer, a scalable z-index scale, and a step-by-step way to debug layering bugs.
    Published at:
    Categories:CSS
    Estimated reading time:24 min read
  • Post:CSS Logical Properties: Writing Modes, RTL, and Direction-Aware Layouts

    Design once, adapt everywhere.
    CSS Logical Properties adapt your layout to any language, direction, or writing mode from one stylesheet — no more RTL hacks or duplicated styles.
    Published at:
    Categories:CSS
    Estimated reading time:20 min read
  • Tutorial:The Holy Grail Layout (Grid Edition)

    A responsive Holy Grail layout built with CSS Grid and grid-template-areas — no floats, no hacks.
    Build the classic Holy Grail layout using modern CSS Grid — a clean, responsive header, sidebars, main content, and footer without floats or layout hacks.
    Published at:
    Categories:CSS
    Estimated reading time:2 min read
  • Post:Responsive CSS Grid Layouts: fr Units, minmax(), auto-fill, and auto-fit Explained

    Series:CSS Grid Fundamentals (3/3)
    Smarter layouts without rigid breakpoints.
    Learn how to build truly responsive CSS Grid layouts using "fr" units, "minmax()", "auto-fit", "auto-fill", and modern media & container queries.
    Published at:
    Categories:CSS
    Estimated reading time:11 min read