News for hackers. Stuff that matters.
Re:Show HN: My new JavaScript MVC framework by Jxnathan on Tuesday March 18, 2014 @10:27AM (#7422089)
Off-topic: how do you apply animation to your logo on activation of the browser tab? I loaded your page in a new tab, but the logo animation didn't fire until I viewed that specific tab.
Re:Show HN: My new JavaScript MVC framework by sergiotapia on Tuesday March 18, 2014 @10:29AM (#7422096)
The three rings are in a span. So it's content 'o' in span, the 'o' in :before and 'o' in :after.

Then he uses a -webkit-animation to translate the positions of each ring.

    @keyframes logo {
    	from {opacity:0;transform:scale(2) rotate(359deg);}
    	to {opacity:1;transform:scale(1) rotate(0deg);}
    }
    @-webkit-keyframes logo {
    	from {opacity:0;-webkit-transform:scale(2) rotate(359deg);}
    	to {opacity:1;-webkit-transform:scale(1) rotate(0deg);}
    }
Re:Show HN: My new JavaScript MVC framework by Kiro on Tuesday March 18, 2014 @10:51AM (#7422251)
But does that explain how it's not triggered until you click the tab?
Re:Show HN: My new JavaScript MVC framework by pastjean on Tuesday March 18, 2014 @11:07AM (#7422364)
This is browser specific to trigger animations on tab open