W3Schools CSS Image Sprites Tutorial

9
32

Video tutorial from the CSS Image Sprites chapter of the CSS tutorial on w3schools.com http://www.w3schools.com/css/css_image_sprites.asp.

source

9 COMMENTS

  1. You sound like a German Vettel! Right. I never bother about nav

    my codes work

     <!DOCTYPE html>
    <html>
    <head><title></title>
    </head>
    <style>

    a {text-decoration:none; display: inline-block; width:48px; height:48px;}

    .face {left: 0;  width:48x; height: 47px;
            background: url(social-sprite.png)0 0px;}

    .face:hover {background:url(social-sprite.png)0 -48px;

    </style>
    <body>

    <a href="#"><div class="face"></div></a>

    </body>

    </html>

    Is this admissible?

LEAVE A REPLY