CSS3凹凸字

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/TDT/xhtml1-strit.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
<title>CSS3凹凸字</title>
<style type="text/css">
body{
background-color:#999;
}
p{ font-size:40px;
text-align:center;
}
.p1
{
margin:100px auto;
width:200px;
border:1px solid red;
text-shadow:1px 1px 1px black,-1px -1px 1px white;
}
.p2
{
margin:0px auto;
width:200px;
border:1px solid blue;
text-shadow:1px 1px 1px white,-1px -1px 1px black;
}
</style>
</head>
<body>
<p class="p1">我是凸字</p>
<p class="p2">我是凹字</p> </body>
</html>
<script> </script>
上一篇:BZOJ_1662_[Usaco2006 Nov]Round Numbers 圆环数_数位DP


下一篇:<转>RestKit在iOS项目中的使用,包含xcode配置说明