🚗 Pure css parallel park is step by step tutorial on how to perfect parallel park
Branch: master
Clone or download
teles
Latest commit 053ddc7 Apr 3, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
sass
.gitignore Creating a gitignore file and removing compiled css from the project Mar 27, 2015
LICENSE Initial commit Mar 27, 2015
README.md
config.rb Initial sass config and html file Mar 27, 2015
index.html

README.md

Pure CSS - Parallel park

Pure CSS - Parallel park is step by step tutorial on how to perfect parallel park.

Exhibition

Click here to see a live demo or love it on codepen.

Dependences

To generate the css file from the sass code you will only need compass. If you don't have it, install it

Running the project

To compile the sass project use compass compile.

To watch changes in the project use compass watch, everytime you change something in the sass code running grunt watch the css will be compiled again.

Folders structure

The sass code is divided in folders, which folder has its own purpose. In helpers folder there are stylesheets which don't generated css. In core folder there are styles for html tags and typo. In components folder you will find the components like car, park and breadcrumbs.

"How do you animate the car without using javascript?"

The animations are all css3, they are made using keyframes, but the interactions are using a simple combination beetwen hidden inputs and labels. Happens like this: when the user checks the start button he is checking a hidden input and the first animations starts after it, so it happens in the steps 2, 3 and finish. Quite simple :)