<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/be-careful-using-grid--kgjv00f98" -->

---
title: Be Careful Using ‘Grid’ | daily.dev
description: The term 'grid' in web development can refer to various patterns, and it's crucial to be specific about which one is being used. These include CSS Grid, CSS...
canonical: https://daily.dev/posts/be-careful-using-grid--kgjv00f98
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Be Careful Using ‘Grid’ | daily.dev
og:description: The term 'grid' in web development can refer to various patterns, and it's crucial to be specific about which one is being used. These include CSS Grid, CSS...
og:url: https://daily.dev/posts/be-careful-using-grid--kgjv00f98
og:image: https://api.daily.dev/og/posts/kGJv00f98.png
og:image:alt: Be Careful Using ‘Grid’
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Be Careful Using ‘Grid’

**[Adrian Roselli](https://daily.dev/sources/adrianroselli)** · 6 min read · 36 upvotes · 2 comments

## Summary

The term 'grid' in web development can refer to various patterns, and it's crucial to be specific about which one is being used. These include CSS Grid, CSS Subgrid, ARIA Grid, ARIA Treegrid, HTML Tables, and Data Grids, each serving different purposes from layout design to creating interactive elements. Misusing these terms can lead to confusion and accessibility issues.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://adrianroselli.com/2024/07/be-careful-using-grid.html>

## Community discussion

Top comments from developers on daily.dev.

**@luigimqf** · 3 upvotes

> CSS Grid can be the best option in many cases regarding page and table structure. For example, in my React applications, I prefer using grid instead of flexbox for the body content structure to ensure my page will respect the layout I design and be responsive, without needing a bunch of media queries to manage flexbox behavior when things change sizes. Kevin Powell made a video explaining cases in which he prefers using grid or flexbox, and I seriously recommend watching
> [Flexbox or Grid](https://www.youtube.com/watch?v=aKFB5Bjk6KM)

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#css](https://daily.dev/tags/css), [#html](https://daily.dev/tags/html), [#ui-design](https://daily.dev/tags/ui-design), [#accessibility](https://daily.dev/tags/accessibility)

[View this post on daily.dev](https://daily.dev/posts/be-careful-using-grid--kgjv00f98)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Be Careful Using ‘Grid’","url":"https://daily.dev/posts/be-careful-using-grid--kgjv00f98","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/be-careful-using-grid--kgjv00f98"},"datePublished":"2024-07-01T13:51:43.968Z","dateModified":"2024-08-23T15:38:11.861Z","description":"The term 'grid' in web development can refer to various patterns, and it's crucial to be specific about which one is being used. These include CSS Grid, CSS...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c498dd7ca35ede7e34f6d9ab8592e3ec?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c498dd7ca35ede7e34f6d9ab8592e3ec?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"Adrian Roselli","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Adrian Roselli","logo":"https://media.daily.dev/image/upload/s--srPC5zE---/f_auto/v1710012549/logos/adrianroselli","url":"https://daily.dev/sources/adrianroselli"},"commentCount":2,"discussionUrl":"https://daily.dev/posts/be-careful-using-grid--kgjv00f98","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":36},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":2}],"keywords":"webdev,css,html,ui-design,accessibility","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Adrian Roselli","item":"https://daily.dev/sources/adrianroselli"},{"@type":"ListItem","position":3,"name":"Be Careful Using ‘Grid’"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/be-careful-using-grid--kgjv00f98","comment":[{"@type":"Comment","text":"CSS Grid can be the best option in many cases regarding page and table structure. For example, in my React applications, I prefer using grid instead of flexbox for the body content structure to ensure my page will respect the layout I design and be responsive, without needing a bunch of media queries to manage flexbox behavior when things change sizes. Kevin Powell made a video explaining cases in which he prefers using grid or flexbox, and I seriously recommend watching\nFlexbox or Grid","datePublished":"2024-07-10T13:15:24.237Z","url":"https://daily.dev/posts/kGJv00f98#c-5QXKON2QB","author":{"@type":"Person","name":"Luigi Mendes","url":"https://daily.dev/luigimqf","image":"https://avatars.githubusercontent.com/u/87784452?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3}}]}
```

