html5 - css3 transition effect on MSN website -
i saw have transition on: http://t.uk.msn.com/?rd=1&ucc=gb&dcc=gb&opt=0
when click on element, pushed bit! (only works in ie10)
how on earth do that? have taken @ inline style don't understand code?
transition-property: transform; transition-duration: 0.22s; transition-timing-function: ease; transition-delay: 0s; transform-origin: right 50%;
i've found if add:
transform:rotatey(20deg);
it rotates pretty how apply when user mouse downs on without using javascript?
got it! need transition stuff there rotate thing. seems job pretty well!
<element>:active { transition-property: transform; transition-duration: 0.22s; transition-timing-function: ease; transition-delay: 0s; transform-origin: left 50%; transform:rotatey(30deg); }
Comments
Post a Comment