Boilerplate code for working on static websites
- Download & install Ruby
- Install Sass with the command
gem install sass
- Download & install ScssLint with the command
gem install scss_lint
- Download & install Node
- Download & install Grunt
- From the root folder
npm install
. This will also run 'grunt' once complete.
- From the root folder
npm start
orgrunt
- Use tabs for indentation
- TODO
- TODO
- Never use any vendor prefixes - the Autoprefixer task will automatically insert these to match the minimum browser support described in the
Gruntfile
- Styling should usually not be tied to a specific html . Instead, add a meaningful class name and add the styling to that.
- Containers start with the prefix 'container-'
- Components start with the prefix 'component-'
- Classes used to describe state start with the prefix 'is-'