-
New Compass Project
compass create new-project --require "zurb-foundation" --using foundation -
Clone Foundation for reference
git clone git@me:zurb/foundation.git temp-framework -
Add Project Folder to Chrome Dev Tools "Sources" Tab for fast Web Inspector Development.
Web Inspector > Workspace > Folders -
Configure SASS Development environment variables,
config.rb
- Enable SASS Sourcemaps
- Line comments
compass watch
-
Import all Foundation defaults
_settings.scss- JavaScript init
$(document).foundation();
-
Open http://foundation.zurb.com/docs/components/kitchen-sink.html in 2 tabs at desktop and mobile viewports
-
Other Tools:
-
Mark out prototype structure with HTML comments, this is technically the first iteration.
Super headerHeader
logosearch
log in
social
/Header<!--Navigation-->
<!--/Navigation-->Body
sidebar
main
/BodyFooter
sidebar
main/Footer
- Adjust known SASS variables, don't delete defaults, comment out instead
- Mobile first. Simplest first. Content has hierarchy
- Get semantic markup down, Concatenate Foundation snippets within HTML comments, Focus on Body Content
- Move to the Browser "Sources Tab", develop in the browser
- Major and minor breakpoints
- Cleaner JS initialisation
- Event optimisation
- Image handling
- Tailor to avoild 'sameliness'
- avoid px - use em, rem, percentages
- icon fonts
- ModerniZer for progressive enhancement - feature detection before browser detection
- test continually on real devices