<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<META http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
*{
margin:0px; padding:0px;
}
.shadow { display:block; color:#000; FILTER:DropShadow(Color=#ff0000, OffX=1, OffY=1, Positive=1); }
.shadow span { position:absolute; display:block; top:0px; }
.shadow:after { display:block; margin:1px; content: attr(title); color:#ff0000; }
</style>
</HEAD>
<BODY>
<p class="shadow" title="This is white text, on a white background. Yet with CSS Drop Shadows, you can read this, because of the black text-shadow."><span class="shadow">This is white text, on a white background. Yet with CSS Drop Shadows, you can read this, because of the black text-shadow.</span></p>
</BODY>
</HTML>
兼容IE和FF的字体阴影的方法
最新推荐文章于 2021-08-03 22:18:49 发布