Image effect increase when page loads

Asked

Viewed 123 times

0

1 answer

1

It’s extremely simple to do this, I took a look at the effect of the link images and did something similar, but without the scrolling:

<img class='alignleft' src='http://tympanus.net/Development/GridLoadingEffects/images/2.jpg'/>
<br />
<img class='alignleft' src='http://tympanus.net/Development/GridLoadingEffects/images/13.png'/>
img.alignleft{
    animation: sizeEffect .6s;
}

@keyframes sizeEffect{
    0%{
        opacity: .1;
        transform: scale(.4);
    }
    50%{
        opacity: .8;
        transform: scale(1.04);
    }
    100%{
        transform: scale(1);
    }
}

See the complete example, with vendor prefixes for the various browsers).

  • 2

    It would be interesting besides pu8blicar the link with the example working also publish the code in your reply

  • I’d rather not do that because it’s an extensive style sheet.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.