通过css3实现了;
<style>
.t1{width:130px;height:32px;background-color:#ea3352;box-shadow:0 5px #c11e39;font-size:30px}
</style><div class="t1">笑傲江湖</div>
但是ie8用不了;
使用CSS3中的渐变背景色就可以实现了
一个红色背景到黄色背景的例子
.class{background:linear-gradient(red, yellow);}请问代码实例是?