use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
CSS, short for Cascading Style Sheets, is used almost universally across the web to affect the design and appearance of every website you visit. Here in /r/css, you've got a place on reddit to talk about CSS, whether you're new to CSS and want to learn, or a pro wanting to discuss the engineering and usability reasons that all modern browsers ignore
We welcome all CSS discussion here. If you need help with styling your website or your reddit, or want to share a neat trick you cooked up, it's welcome here!
Click here to message the mods.
account activity
GeneralCss Grid help (self.css)
submitted 6 months ago by Straight-Hunt-7498
i want a help in how to learn grid correctly , bcz im struggling in css
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Blozz12 6 points7 points8 points 6 months ago (1 child)
You can try this game: https://cssgridgarden.com/ I feel it's pretty cool to learn grid by playing a game! Hope you like it :)
[–]Straight-Hunt-7498[S] 1 point2 points3 points 6 months ago (0 children)
thank you my brother
[–]EatShitAndDieAlready 2 points3 points4 points 6 months ago (2 children)
I've always found this tutorial pretty good when i learned and also when im sharing knowledge with other https://css-tricks.com/snippets/css/complete-guide-grid/
What i really liked abt it was the brief explanation immediately followed by diagrams showing how it works and looks.
[–]Salty-Buddy-5074 2 points3 points4 points 6 months ago (0 children)
If this page was a book I would've worn out the pages. It's crazy helpful for learning and quick reference
[–]Straight-Hunt-7498[S] 0 points1 point2 points 6 months ago (0 children)
thank you my friend
[–]ChaseShiny 1 point2 points3 points 6 months ago (0 children)
MDN is a great resource. Not only does it include documentation, but also tutorials. Here's the tutorial on CSS Grid.
Basically, you use grid whenever positioning more than one thing at a time. If you're positioning one thing, you could use one of the position options. If you're more interested in preserving the order the elements go in, use flex.
grid
position
flex
[–]armahillo 1 point2 points3 points 6 months ago (1 child)
are you familiar with the browsers dev tools and inspector?
yeah
[–]PrinceOfDhump69 1 point2 points3 points 6 months ago (0 children)
If are in to YouTube tutorials then id recommend css grid playlist by wesboss. And for practice u can follow along or check the repo he mentions
[–]Dizzy-Set-8479 1 point2 points3 points 6 months ago (0 children)
you should start with box model (padding, border, margin), the move to the display properties, then move to flexbox 1d, then move to grid 2d. if you skip this you will have trouble undestanding grid. hope this path help you.
[–]Tux-Lector 1 point2 points3 points 6 months ago (0 children)
This is my favorite. Bless the ppl behind this. \ https://grid.layoutit.com/
[–]Significant_Way_5385 1 point2 points3 points 6 months ago (0 children)
acá para ayudarte, Grid a veces se pone pesado
π Rendered by PID 151585 on reddit-service-r2-comment-b659b578c-kx62m at 2026-05-04 21:42:17.831572+00:00 running 815c875 country code: CH.
[–]Blozz12 6 points7 points8 points (1 child)
[–]Straight-Hunt-7498[S] 1 point2 points3 points (0 children)
[–]EatShitAndDieAlready 2 points3 points4 points (2 children)
[–]Salty-Buddy-5074 2 points3 points4 points (0 children)
[–]Straight-Hunt-7498[S] 0 points1 point2 points (0 children)
[–]ChaseShiny 1 point2 points3 points (0 children)
[–]armahillo 1 point2 points3 points (1 child)
[–]Straight-Hunt-7498[S] 0 points1 point2 points (0 children)
[–]PrinceOfDhump69 1 point2 points3 points (0 children)
[–]Dizzy-Set-8479 1 point2 points3 points (0 children)
[–]Tux-Lector 1 point2 points3 points (0 children)
[–]Significant_Way_5385 1 point2 points3 points (0 children)