News for hackers. Stuff that matters.
Re:Show HN: An HTML/CSS/JS toggle switch with happy and sad ... by redshark1802 on Wednesday March 15, 2017 @08:26AM (#13875585)
Re:Show HN: An HTML/CSS/JS toggle switch with happy and sad ... by chasingtheflow on Wednesday March 15, 2017 @10:17AM (#13876239)
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.
Re:Show HN: An HTML/CSS/JS toggle switch with happy and sad ... by tbirrell on Wednesday March 15, 2017 @10:44AM (#13876422)
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.

Re:Show HN: An HTML/CSS/JS toggle switch with happy and sad ... by chrisgannon on Thursday March 16, 2017 @02:38AM (#13883026)
The first (happy) blink is fractionally slower than the sad blink on purpose. I'm obsessive about details.
Re:Show HN: An HTML/CSS/JS toggle switch with happy and sad ... by neogodless on Wednesday March 15, 2017 @10:04AM (#13876145)
I think the blinking is actually much more effective this way, too!
Re:Show HN: An HTML/CSS/JS toggle switch with happy and sad ... by chrisgannon on Thursday March 16, 2017 @02:36AM (#13883015)
Yes you messed up the transform origin.