.home a:link, .home a:visited {
    width: 120px;
    height: 120px;
    background: url(../images/sprites.jpg) top left no-repeat;
}
.home a:hover {
    background-position: 0 -120px;
}
.home a:active {
    background-position: 0 -240px;
}
CSS Sprites are used mostly for performance purposes
by Valeri Tandilashvili
4 years ago
CSS
CSS Sprites
Learn CSS
1
Pro tip: use ```triple backticks around text``` to write in code fences