any ideas on how to move down a div like the apple bar at the top? (jQuery or other libs?)
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Apple uses CSS transitions, put them on the element you want to move and then dynamically (with javascript for example) change the CSS property you have put the animation on (‘top’ for example). Et voila.
Older browsers won’t show the animation, but that’s okay as it won’t destroy usability. We’re living in the progressive enhancement age nowadays.