jasminexie / 100-days-css

100 Days of CSS challenge with Parcel, PostCSS and Pug.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

100 days of CSS challenge

About this repository

100 days of CSS - OR: 100 days of trying not to suck at CSS.

My goal: to write animations with no javascript. Pure CSS (or pure PostCSS, if you will). I'll make an exception for Pug, because although it's technically Javascript pre-processing HTML, you can't really expect me to write 400 divs by hand, lol.

And PostCSS is technically Javascript post-processing HTML, but the whole point of this is to learn PostCSS, really, so that doesn't count either.

Run

npm install
npm run dev

Open localhost:1234/index.html. Please don't forget the index.html.

Develop

Create a new challenge template

npm run new

Enter a new challenge from the prompt. Name should be a 3-digit number ranged from 0 to 100 (ie. 046).

Start a dev server

npm run dev

Debug

Open localhost:1234/${day_number}/index.html to see the page. Where day_number is a 3-digit number ranged from 0 to 100 (ie. 046).

Build

npm run build

Other

This is an exercise in the following technologies:

And the following abilities:

  • To not give up and not smash one's computer
  • To investigate, explain and enforce industry standards as well as I can.
  • To find and bookmark some very useful CSS sites
  • To hopefully write some reusable CSS snippets

About

100 Days of CSS challenge with Parcel, PostCSS and Pug.

License:The Unlicense


Languages

Language:CSS 76.6%Language:HTML 16.6%Language:JavaScript 4.6%Language:Vue 1.5%Language:TypeScript 0.7%