1. HTML
<a class='ani' id='a01' href='#a01' style='background:url(still1.jpg)'>
<img src='ani1.gif'>
</a>
<a class='ani' id='a02' href='#a02' style='background:url(still2.jpg)'>
<img src='ani2.gif'>
</a>
<a class='ani' id='a03' href='#a03' style='background:url(still3.jpg)'>
<img src='ani3.gif'>
</a>
<a class='ani' id='a04' href='#a04' style='background:url(still4.jpg)'>
<img src='ani4.gif'>
</a>
<a class='ani' id='a05' href='#a05' style='background:url(still5.jpg)'>
<img src='ani5.gif'>
</a>
2. gif animation 이미지는 처음에는 hidden이지만, 클릭되면 visible이 된다.
<style type="text/css">
.ani {
display: inline-block;
text-decoration: none;
}
.ani > img {
visibility:hidden;
}
.ani:target > img {
visibility: visible;
}
</style>