首页 > IT职业 > IT职场 > 实现给一个DIV加阴影效果!
<!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/ ,如需转载,请注明出处,否则将追究法律责任。