The reeder lightbox popup has an easing at the end.
I’m looking for a way to imitate that easing. How do I do it?
jQuery/css solution please.
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.
Sweet–looking effect!
It seems these are CSS transitions triggered via JS. The overlay is first instantly scaled to a size of 50%, then animated to 105% and afterwards animated back to 100%, both with an easing setting of
ease-out.This causes what’s known as the “80/20 effect”: By skipping the first 80% (or in this case 50%) of an animation initially, the animation appears to be more snappy and responsive.
Here are the code bits in question: (Copied from reederapp.com‘s source — I haven not written these!)
CSS (http://reederapp.com/mac/css/main.css)
JS (http://reederapp.com/mac/js/mac.js)