154

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

 6 years ago
source link: https://github.com/wesbos/css-grid
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

68747470733a2f2f7265732e636c6f7564696e6172792e636f6d2f776573626f732f696d6167652f75706c6f61642f76313531353532343435322f475249442d736f6369616c2d73686172655f776c667a6b332e706e67

CSS Grid Video Course

Hey! These are the starter files and finished solutions. Grab the full course over at 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!

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:


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK