- Sing the movie website
- [Spook] (http://www.rememberspook.com/#)
- [Gemstones] (http://gemstones.elespacio.net/)
- [personal website] (http://eli.wtf/)
- [cool editorial thing] (http://bergluft.hervis.at/chapter/1)
- [another european site] (http://www.effektiv.fr/secteurs/ingenierie-management-de-production/)
- slight slide in on scroll
- [rad personal site] (http://alextade.me/)
- [gooey menu] (http://codepen.io/evejweinberg/pen/RKJNXO)
- woah!
Where to find more: FWA Awards and [Awwwwwwards] (http://www.awwwards.com/) and [CSS Awards] (https://www.cssawards.net/)
- CSS Animation vs Transitions
- look at cheatsheet first
- Transition example
- [Animation Keyframe example #1] (http://codepen.io/evejweinberg/pen/JEmogE)
- Animation Keyframe example #2
- Combo
-
Switch to Chrome Dev tools and add clouds going across the screen
-
Adding CSS animation by using javascript: [Powers of Ten sidebar] (http://itp.evejweinberg.com/powers_of_ten/)
- [gist here, using TweenLite] (https://gist.github.com/evejweinberg/716ef219c7c42bc465fb306d991a4362)
- [codepen here, using CSS] (http://codepen.io/evejweinberg/pen/bgjRdq?editors=1111)
-
What else can we animate?
- STACK: css (then eventually SCSS/SASS), javascript / jQuery, HTML
- TOOLS: Text editor, codepen.io, Chrome browser dev tools
- WORKFLOW: Watch tutorials (see medium article), read MDN, turn to stack over flow sometimes a FAIL, Find things on codepen to Fork
[MY 'COMPREHENSIVE WEB ANIMATION' ARTICLE, FROM MEDIUM.COM] (https://medium.com/@evejweinberg/web-animation-everything-you-need-to-know-in-too-much-detail-91bf5d48f980#.t541ltp30)
- open index in Chrome
- open console
- click on sources tab
- right click folder name for a dropdown
- select 'add to workspace'
- choose folder name
- right click on the css file
- choose Map to Network Resources
- choose css file from dropdown selection
- change css in the Source view
- save as you work! watch it update locally!
As soon as you're writing css comfortably and you find yourself thinking, 'damn, I wish I could use variables!'. . start learning SASS. Until then, use css.
- How to read scss/sass on codepen
installing sass installing compass to compile sass to css
$ sass --watch style.scss:style2.css
watch an entire folder:
$ sass --watch path/to/sass/folder:path/to/css/folder
Sass is a version of CSS with more robust features. You can write in sass and then transpile to CSS when it's time to view your code. Sass can be written in two languages - sass or scss (sassy css). I use scss! It's easier bc it's more similar to CSS.
- Make a file called
style.scss
and write your styling there, using scss - In the header of your html link to a normal .css file:
<link rel="stylesheet" href="css/style.css">
- When you're done with your SCSS styling or just want to see the status of your page, use terminal to transpile
- before you can transpile, you must install the sass transpiler: https://www.jetbrains.com/help/webstorm/2016.3/transpiling-sass-less-and-scss-to-css.html#d253312e140
- in terminal
cd
into your directory and type $`
- what about other browsers besides chrome?
- what about speed and performace issues css vs JS vs jQuery?