매우 아름다운 애니메이션 효과. 구글코리아 홈페이지에 있습니다. 원본: !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http:/ /www.w3.org/TR/html4/loose.dtd"> 테스트 효과 <style type="text/css"> <BR><!-- <BR>body {text-align:center} <BR>table {border:1px solid #eeeeee;padding:3px 0;border-bottom-width:5px} <BR>.icon td {width:50px;height:37px;background-image:url(http://www.dnew.cn/attachment/1188099824_0.gif)} <BR>.capt td {font:normal 11px verdana;padding:2px 0} <BR>.a {background-position-y:0px} <BR>.b {background-position-y:-37px} <BR>.c {background-position-y:-74px} <BR>.d {background-position-y:-111px} <BR>.e {background-position-y:-148px} <BR>.f {background-position-y:-185px} <BR>.g {background-position-y:-222px} <BR>.f1 {background-position-x:0px} <BR>.f2 {background-position-x:-51px} <BR>.f3 {background-position-x:-101px} <BR>.f4 {background-position-x:-153px} <BR>.f5 {background-position-x:-205px} <BR>.f6 {background-position-x:-257px} <BR>.f7 {background-position-x:-309px} <BR>--> <BR> <BR><!-- <BR>body {text-align:center} <BR>div { width:381px; border:1px solid #eeeeee;padding:3px 0;border-bottom-width:5px} <BR>label {display:block; float:left; width:50px;height:37px;background-image:url(http://www.dnew.cn/attachment/1188099824_0.gif)} <BR>p { display:block; margin-TOP:-30PX; padding-top:30px; float:left; width:50px; height:auto; font:normal 11px verdana; cursor:pointer;} <BR>.a {background-position-y:0px} <BR>.b {background-position-y:-37px} <BR>.c {background-position-y:-74px} <BR>.d {background-position-y:-111px} <BR>.e {background-position-y:-148px} <BR>.f {background-position-y:-185px} <BR>.g {background-position-y:-222px} <BR>.f1 {background-position-x:0px} <BR>.f2 {background-position-x:-51px} <BR>.f3 {background-position-x:-101px} <BR>.f4 {background-position-x:-153px} <BR>.f5 {background-position-x:-205px} <BR>.f6 {background-position-x:-257px} <BR>.f7 {background-position-x:-309px} <BR>--> <BR> A B C D E F G DIV 버전/p>"http://www.w3.org/TR/html4/loose.dtd"> 제목 없는 문서 <p><!-- body {text-align:center} <BR>div {width:381px; border:1px solid #eeeeee;padding:3px 0;border-bottom-width:5px} label {display:block; 왼쪽; 너비:50px;높이:37px;배경-이미지:url(http://www.dnew.cn/attachment/1188099824_0.gif)} <BR>p { 디스플레이:블록; 여백:-30PX; -top:30px; 너비:50px; 높이:자동; 글꼴:일반 11px verdana; 커서:포인터;} .a {배경-위치-y:0px} <BR>.b 위치-y:-37px} .c {배경-위치-y:-74px} <script language="javascript"> <BR>window.onload=function(){ <BR> var tt=document.getElementsByTagName('table')[0]; <BR> var cs=tt.rows[1].cells,ct=tt.rows[0].cells; <BR> for(var i=0;i<cs.length;i++) <BR> cssAni(cs[i],ct[i],7); <BR>} <BR>function cssAni(osrc,otarget,num,duration){ <BR> var t=null,c=1,d=0,n=0,i=Math.floor((duration||300)/num); <BR> var s=otarget.className.replace(/.$/,''),r=/over/; <BR> osrc.onmouseover=osrc.onmouseout=function(e){ <BR> n=r.test((e||event).type)?1:-1; <BR> if(!t) t=setInterval(function(){ <BR> if((c==1||c==num)&&((d==n||c+n<1)||!(d=n))) <BR> return clearInterval(t),t=null; <BR> otarget.className=s+(c+=d); <BR> },i); <BR> }; <BR>} <BR>.d {배경-위치-y:-111px} <script language="javascript"> <BR>window.onload=function(){ <BR> var tt=document.getElementsByTagName('div')[0]; <BR> var cs=tt.getElementsByTagName('label'),ct=tt.getElementsByTagName('p'); <br><br> for(var i=0;i<cs.length;i++) <BR> cssAni(ct[i],cs[i],7); <BR>} <BR>function cssAni(osrc,otarget,num,duration){ <BR> var t=null,c=1,d=0,n=0,i=Math.floor((duration||300)/num); <BR> var s=otarget.className.replace(/.$/,''),r=/over/; <BR> osrc.onmouseover=osrc.onmouseout=function(e){ <BR> n=r.test((e||event).type)?1:-1; <BR> if(!t) t=setInterval(function(){ <BR> if((c==1||c==num)&&((d==n||c+n<1)||!(d=n))) <BR> return clearInterval(t),t=null; <BR> otarget.className=s+(c+=d); <BR> },i); <BR> }; <BR>} <BR>.e {배경-위치-y: - 148px} <🎜>.f {배경 위치-y:-185px} <🎜>.g {배경 위치-y:-222px} <🎜>.f1 {배경 위치-x:0px} <🎜> . f2 {배경-위치-x:-51px} <🎜>.f3 {배경-위치-x:-101px} <🎜>.f4 {배경-위치-x:-153px} <🎜>.f5 {배경-위치 -x:-205px} <🎜>.f6 {배경 위치-x:-257px} <🎜>.f7 {배경 위치-x:-309px} <🎜>--> <🎜> ABCDEFG