article header {
width: 800px;
height: 200px;
position: relative;
}
article a {
display: block;
width: 32px;
height: 32px;
position: absolute;
top: 34px;
right: 0;
font-size: 11px;
overflow: hidden;
}
article a span {
background: url('img/przycisk.png') 0 0 no-repeat;
}
article a span:hover {
background: url('img/przycisk.png') -32px 0 no-repeat;
}
Listing 41.5. Style przycisków do góry
Rozdział 41. Podsumowanie części szóstej