文字描边

<!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>
<style>
body{background:#3CC;}
.border
{
    font-family:"华文楷体";
    font-size:20px;
    color:#000;
    font-weight:bold;
    width:228px;
    text-shadow:#fff 2px 0 0,#fff 0 2px 0,#fff -2px 0 0,#fff 0 -2px 0;
     filter:
 Dropshadow(offx=2,offy=0,color=white)
 Dropshadow(offx=0,offy=2,color=white)
 Dropshadow(offx=0,offy=-2,color=white)
 Dropshadow(offx=-2,offy=0,color=white);
    text-indent:2em;
    line-height:30px;
    margin-left:10px;
    padding-top:20px;
}
.BorderBox
{
    background:url(../img/WordBg.png);
    width:248px;
    height:580px;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>文字描边</title>
</head>

<body>
<!--IE用滤镜,火狐用css3-->
<div class="BorderBox">
<div class="border"><span style="color:#1077ac">机械制图</span>》课程是机械类各专业必修的一门主干专业基础课,培养学生的读图和绘图能力。本课程将<span style="color:#c11b27">AutoCAD</span><span style="color:#c11b27">SolidWork</span>计算机辅助设计软件融入到课程教学中,对学生进行手工绘图和计算机绘图<span style="color:#429b0d">双重训练</span>。并按照加工种类将课程内容整合到五个模块中,实现本课程与专业课程《<span style="color:#1077ac">机械制造技术</span>》的衔接。 </div>
</div>
</body>
</html>

 

posted @ 2015-12-22 13:31  皓月千里  阅读(309)  评论(0)    收藏  举报