Tip: you can modify some code before running
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>Display effect of one character implemented by CSS</title><style>body{ font-size:12px; line-height:22px;}#info span{position:absolute;width:523px;height:275px;top:115px; left:10px;background-image: url(http://www.111cn.net/js_a/87/images/200682485616973.GIF);visibility: hidden;}a:link,a:visited{cursor: default;}a:active,a:hover{cursor:auto;}#hi{visibility: hidden; height:1px; overflow:hidden;}#w01 a:hover span,#w02 a:active span{background-position: 0px 0px; visibility: visible;}#w02 a:hover span,#w03 a:active span{background-position: 0px -275px; visibility: visible;}#w03 a:hover span,#w04 a:active span{background-position: 0px -550px;visibility: visible; }#w04 a:hover span,#w05 a:active span{background-position: 0px -825px; visibility: visible;}#w05 a:hover span,#w06 a:active span{background-position: 0px -1100px; visibility: visible;}#w06 a:hover span,#w07 a:active span{background-position: 0px -1375px; visibility: visible;}#w07 a:hover span,#w08 a:active span{background-position: 0px -1650px; visibility: visible;}#w08 a:hover span,#w09 a:active span{background-position: 0px -1925px; visibility: visible;}#w09 a:hover span,#w10 a:active span{background-position: 0px -2200px; visibility: visible;}#w10 a:hover span,#w11 a:active span{background-position: 0px -2475px; visibility: visible;}#w11 a:hover span,#w12 a:active span{background-position: 0px -2750px; visibility: visible;}#w12 a:hover span,#w13 a:active span{background-position: 0px -3025px;visibility: visible; }#info a{width:44px; height:100px;display:block; background:#cc0000; float:left;} </style></head><body><div id="info"> <div id="w01"></div> <div id="w02"></div> <div id="w03"></div> <div id="w04"></div> <div id="w05"></div> <div id="w06"></div> <div id="w07"></div> <div id="w08"></div> <div id="w09"></div> <div id="w10"></div> <div id="w11"></div> <div id="w12"></div></div><p>Move the mouse over the red</p><div id="hi"></div></body></html>
Tip: you can modify some code before running