I'm reading up on CSS animations/keyframes and since I always like to start with relative values, I put together this:
div.frame {
    animation-name: saturn;
    animation-duration: 5s;
    animation-iteration-count: 1;
    background-color: rgba(128, 255, 128, 1);
    width: 100%;
    height: 100%;
}
/* animations */
@keyframes saturn {
    from {
        width: 100%;
        height: 100%;
    }
    to {
        width: 90%;
        height: 90%;
    }
}
And this produces exactly no result, just a plain-old green full screen div.
Can CSS be given relative sizes for animations, I.e. percentages of parents? Or is it the same story as with jQuery .animate()?
 
     
     
    