Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/wesbos/css-grid

Starter Files + Solutions to my CSSGrid.io Course
https://github.com/wesbos/css-grid

Last synced: about 1 month ago
JSON representation

Starter Files + Solutions to my CSSGrid.io Course

Lists

README

        

![](https://res.cloudinary.com/wesbos/image/upload/v1515524452/GRID-social-share_wlfzk3.png)

# CSS Grid Video Course

Hey! These are the starter files and finished solutions. Grab the full course over at [CSSGrid.io](https://CSSGrid.io).

## Course FAQ

### Q: I'm getting "This is meant to be run from within npm script."

Not sure why this is happening, but try these commands instead:

**windows:** `npm run start:win32`

**mac and linux:** `start:darwin:linux`

Very few people get this, but please contact me if you find out why `npm start` command isn't running.

### Q: I'm getting Browsersync Couldn't open browser (if you are using BrowserSync in a headless environment, you might want to set the open option to false)

This is because some versions of Firefox are "FirefoxDeveloperEdition" and some new downloads are "Firefox Developer Edition". If you had downloaded the browser before the course, just remove the spaces from the package.json command so it says "FirefoxDeveloperEdition"

### Q: I can't see the lines / numbers of Firefox' CSS Grid Inspection Tools

Make sure to turn off both "Use recommended performance settings" & "Use hardware acceleration when available“ within Preferences > Performance

## Community CSS Grid Content

Feel free to submit a PR adding a link to your own recaps, guides or reviews!

* [Course Review](https://www.bencodezen.io/blog/review-css-grid-with-wes-bos/) by [@bencodezen](https://www.twitter.com/bencodezen)
* [Recap and lessons learned](https://marcokuehbauch.com/blog/learning-css-grid/) by [@mkuehb](https://twitter.com/Mkuehb)
* [cssgrid.io course review](https://krzysztofzuraw.com/blog/2020/css-grid-io-course) by [@krzysztof_zuraw](https://twitter.com/krzysztof_zuraw)
* My [gh-page](https://herminiotorres.github.io/cssgrid) by [@herminiotorres](https://twitter.com/herminiotorres)

## A note on Pull Requests

These are meant to be 1:1 copies of what is done in the video. If you found a better / different way to do things, great, but I will be keeping them the same as the videos.

The starter files + solutions will be updated if/when the videos are updated.

Thanks!

## Live editable examples

I recommend you use the files in the repo, but if you prefer to use JSFiddle instead, here are all the starter files ready to go:

02. [Starter Files and Tooling Setup](https://jsfiddle.net/6qvwur9q/)
03. [CSS Grid Fundamentals](https://jsfiddle.net/qxxpgg4j/)
04. [CSS Grid Dev Tools](https://jsfiddle.net/b55x8vh2/)
05. [CSS Grid Implicit vs Explicit Tracks](https://jsfiddle.net/mon8xdgb/)
06. [CSS grid-auto-flow Explained](https://jsfiddle.net/Loq4uj16/)
07. [Sizing tracks in CSS Grid](https://jsfiddle.net/q8h3r8yb/)
08. [CSS Grid repeat function](https://jsfiddle.net/8f8xyx86/)
09. [Sizing Grid Items](https://jsfiddle.net/wqs6tcuk/)
10. [Placing Grid Items](https://jsfiddle.net/hs5xhvpp/)
11. [Spanning and Placing Cardio](https://jsfiddle.net/2z7z6o9k/)
12. [auto-fit and auto-fill](https://jsfiddle.net/d1pLngzx/)
13. [Using minmax() for Responsive Grids](https://jsfiddle.net/xthszm2j/)
14. Grid Template Areas:
- [Area Line Names](https://jsfiddle.net/tkyxomht/)
- [Areas](https://jsfiddle.net/p0sn7L7v/)
15. [Naming Lines in CSS Grid](https://jsfiddle.net/ygpmn0xh/)
16. [grid-auto-flow dense Block Fitting](https://jsfiddle.net/sxj83p70/)
17. [CSS Grid Alignment + Centering](https://jsfiddle.net/eyL9a2gv/)
18. [Re-ordering Grid Items](https://jsfiddle.net/uscf9mk0/)
19. [Nesting Grid with Album Layouts](https://jsfiddle.net/yn7jak0y/)
20. [CSS Grid Image Gallery](https://jsfiddle.net/cbjzped2/)
21. Flexbox vs CSS Grid:
- [Axis Flipping](https://jsfiddle.net/pt8hym9s/)
- [Controls on Right](https://jsfiddle.net/4o7gavuj/)
- [Flex on Item](https://jsfiddle.net/1u264ftd/)
- [Perfectly Centered](https://jsfiddle.net/sgbrtrjo/)
- [Self Control](https://jsfiddle.net/c6gg8pkn/)
- [Stacked Layout](https://jsfiddle.net/mnfm1sw0/)
- [Unknown Content Size](https://jsfiddle.net/4ze02bkj/)
- [Unknown Number of Items](https://jsfiddle.net/Lg7r3jmy/)
- [Variable Widths on Each Row](https://jsfiddle.net/qymhootd/)
22. [Recreating Codepen](https://jsfiddle.net/br6n54qt/)
23. [Bootstrappy Grid with CSS Variables](https://jsfiddle.net/gLLht2hd/)
24. [Responsive Website](https://jsfiddle.net/bh16ofp8/)
25. [Full Bleed Blog Layout](https://jsfiddle.net/j8w6v3mh/)