ITPub博客

首页 > IT职业 > IT职场 > 实现给一个DIV加阴影效果!

实现给一个DIV加阴影效果!

IT职场 作者:highhand 时间:2021-09-09 10:07:58 0 删除 编辑

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>阴影效果</title>
<style type="text/css">
div{
position: absolute;
left: 300px;
top: 300px;
width: 300px;
height: 300px;
box-shadow: 0px 0px 100px 10PX red;
border: 1px solid red;
}
</style>
</head>
<body>
<div>

</div>

</body>
</html>

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/810/viewspace-2817081/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2015-11-11

  • 博文量
    1479
  • 访问量
    30553