TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Using CSS grid for entire page

2 pointsby docuruover 4 years ago
I&#x27;ve been learning CSS grid, and wanted to have the entire page based it. The goal was to be responsive automatically.<p>When all the children &quot;grid-area&quot; is set to auto, is all good. But if a few of them have custom &quot;grid-area&quot;, things start to get weird.<p>Since the content is dynamic (element being added or deleted randomly), I couldn&#x27;t add a media query then custom the &quot;grid-area&quot; as it needed to be<p>Appreciate any solution.<p>(somewhat similar to this https:&#x2F;&#x2F;material.io&#x2F;design&#x2F;layout&#x2F;responsive-layout-grid.html#breakpoints)

no comments

no comments