div实现阴影边框效果(适应各主流浏览器)

建站知识 2021-07-03 08:43www.168986.cn长沙网站建设

复制代码
代码如下:

<!DOCTYPE HTML>
<html>
<head>
<title>CSs阴影框,Div阴影</title>
<style type="text/css">
{ margin:0; padding:0; border:0; }
body{ padding:4em; font-family:Tahoma, Geneva, sans-serif }
/box/
.box { width:60%;background-color:#666}
.box p {line-height:1.8; padding:2em; position:relative; :-5px; left:-5px;zoom:1;background-color:#c}
</style>
</head>
<body>
<div class="box">
<p>狼蚁SEO提供</p>
</div>
</body>
</html>

Copyright © 2016-2025 www.168986.cn 狼蚁网络 版权所有 Power by