css - CSS3/jQuery Flip Down animation -


i saw elegant , neat animation on site:

http://adam.co/

notice how 'i making great ideas happen' comes view. trying figure out how that.

could guide me on how produce similar effect website?

it simple without libraries etc.. can pretty done css3.

apply 'loaded' class or when page loads , define animation animate width (or scalex) , background positions.

@-webkit-keyframes flip-in {     0%{          background-position: 5px -80px;         -webkit-transform:scalex(0);     }     50% {          background-position: 5px -80px;         -webkit-transform:scalex(1);     }     100% {          background-position: 5px 5px;     }         } .loaded #text-block {     -webkit-animation-name: flip-in;     -webkit-animation-duration: 0.75s;     -webkit-animation-timing-function: ease-in-out; } 

take (i put webkit styles in example, use chrome or safari):

http://jsfiddle.net/adamco/guju4/

the staggered effect simple enough too. can reuse same animation , increase duration bit each one.

http://jsfiddle.net/adamco/ngl4u/


Comments

Popular posts from this blog

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -