文字添加阴影样式的例题
<title>文字阴影效果</title> <style type="text/css"> body{ margin:15px; font-family:"宋体"; font-size:60px; font-weight:bold;} #block1{ position:relative; z-index:1; } #block2{ color:#AAAAAA; position:relative; top:-1.06em; left:0.1em; z-index:0;} </style> </head> <body> <div id="father"> <div id="block1">哎呀呀呀</div> <div id="block2">哎呀呀呀</div>
</div> </body>