{"id":25022058,"url":"https://github.com/luisvalgoi/css-grid-playground","last_synced_at":"2026-05-07T15:32:09.641Z","repository":{"id":118139802,"uuid":"388310217","full_name":"LuisValgoi/css-grid-playground","owner":"LuisValgoi","description":"Repository dedicated to learn more about CSS Grid","archived":false,"fork":false,"pushed_at":"2021-07-22T03:06:32.000Z","size":221,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-29T15:39:11.670Z","etag":null,"topics":["box-model","css","grid","grid-system"],"latest_commit_sha":null,"homepage":"https://css-grid-playground.netlify.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LuisValgoi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-22T03:00:24.000Z","updated_at":"2023-03-09T02:16:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"75a2884c-9522-4c02-bfb9-a6dc51946b8a","html_url":"https://github.com/LuisValgoi/css-grid-playground","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LuisValgoi/css-grid-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuisValgoi%2Fcss-grid-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuisValgoi%2Fcss-grid-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuisValgoi%2Fcss-grid-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuisValgoi%2Fcss-grid-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LuisValgoi","download_url":"https://codeload.github.com/LuisValgoi/css-grid-playground/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuisValgoi%2Fcss-grid-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32743926,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["box-model","css","grid","grid-system"],"created_at":"2025-02-05T13:39:57.400Z","updated_at":"2026-05-07T15:32:09.617Z","avatar_url":"https://github.com/LuisValgoi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Repo Goal\n\nTo learn more about CSS Grid.\n\nIt was used [this](https://www.youtube.com/watch?v=HN1UjzRSdBk\u0026ab_channel=Rocketseat) tutorial as reference.\n\n# Status\n\n[![Netlify Status](https://api.netlify.com/api/v1/badges/c2343a81-277d-43fe-8263-b2040578f531/deploy-status)](https://app.netlify.com/sites/css-grid-playground/deploys)\n\n# Grid Motivation\n\n- RAW HTML Renders elements all below each others.\n\n- In the very beggining `float` and `table` came up to try to solve.\n\n- They did. Partially.\n\n- But, another better approach came up: Flexbox.\n\n- It has changed the way elements structure were organized.\n\n- Axis `x` and `y` could provide a bunch of flexibility that before we couldn't.\n\n- But it wasn't enough. It was onedimensional. Then, CSS Grid have arrived.\n\n- It basically create a 2D (bi-dimensional) approach. With rows and columns.\n\n# Grid vs Flexbox\n\n- one fills the gap of others.\n\n- `GRIDs`: works for the layout limits. Page structure.\n\n- `FLEXBOXEs`: works for the elements itself. Components structure.\n\n# Notes\n\n- `1fr`: means 1 Flex. 1 fraction.\n\n- `vh`: means viewport height.\n\n- `gridGap`: 20px stands for `grid-row-gap`: 20px and `grid-column-gap`: 20px.\n\n- `grid-\u003ccolumn||row\u003e-\u003cstart||end\u003e`: will depend on the virtual lines of your structure. The amount changes according to how much columns/rows you want.\n\n  - lets say you have a 2 columns grid.\n\n  - you will have 3 slots where you can start or end your grid-item.\n\n- `grid-\u003ccolumn||row\u003e: 3/4` its the same as the `grid-\u003ccolumn||row\u003e-start: 3` + `grid-\u003ccolumn||row\u003e-end:4`. Take a look into the 1st example.\n\n- `grid-template-areas`: shortcut for all the `grid-\u003ccolumn||row\u003e-\u003cstart||end\u003e`. Take a look into the 2nd example.\n\n# Properties\n\n### Containers\n\n- `display: grid`: says that its a grid.\n\n- `grid-template-columns`: says how many columns my container will have.\n\n- `grid-template-rows`: says how many rows my container will have.\n\n- `grid-template-areas`: .\n\n- `grid-gap`: says about the spacing/gaps on:\n\n  - `grid-column-gap`: says about the spacing on the column.\n\n  - `grid-row-gap`: says about the spacing on the row.\n\n### Items\n\n- `grid-column`: says about where the item will be placed on the column.\n\n  - `grid-column-start`: its the verbose way to write. it represents where te item will start on your columns virtual lines.\n\n  - `grid-column-end`: its the verbose way to write. it represents where te item will ends on your columns virtual lines.\n\n- `grid-row`: says about where the item will be placed on the row.\n\n  - `grid-row-start`:its the verbose way to write. it represents where te item will start on your rows virtual lines.\n\n  - `grid-row-end`: its the verbose way to write. it represents where te item will ends on your rows virtual lines.\n\n- `grid-area`: says about where the item will be placed on the area. (applicable only with `grid-template-areas`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluisvalgoi%2Fcss-grid-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluisvalgoi%2Fcss-grid-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluisvalgoi%2Fcss-grid-playground/lists"}