Hacker News new | ask | show | jobs
by _sefg 3381 days ago
fixed it for you: http://codepen.io/anon/pen/PpJwKL
3 comments

Nice! Though it looks like in your version the blink is happening from top-to-bottom as opposed to collapsing in the middle. I like the blink after the toggle, but the actual blink animation in the original in preferable imo.
If you slow down the original, it does the same thing. Optical illusion I think.

Edit: only the second blink is funky. The first is how you recall.

The first (happy) blink is fractionally slower than the sad blink on purpose. I'm obsessive about details.
I think the blinking is actually much more effective this way, too!
Yes you messed up the transform origin.