<title>几款CSS给文字加阴影变3D效果演示</title> <style type="text/css"> <!-- body{background: url(back.gif);} .sample{font-style: italic; font-family: arial black; font-size: 40px; font-weight: bold; cursor: hand;} #backgr2 {width: 200px; height: 70; background: black url(images/back1.jpg) center center no-repeat;} #backgr3{} --> </style> <div class="webfx-main-body"> <p onclick="alert(this.innerHTML)"> <span class="sample" >Jb51</span><span class="sample"> Jb51</span> <p onclick="alert(this.innerHTML)"> <span class="sample" >WebFX</span><span class="sample" >Jb51</span> <p onclick="alert(this.innerHTML)"> <span class="sample" >Jb51</span><span class="sample" >Jb51</span> <p onclick="alert(this.innerHTML)"> <span class="sample">Jb51</span> </div> 提示:您可以先修改部分代码再运行