ボックスは通常、設計ドラフトから直接取得する必要があります
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.box {
width: 200px;
height: 200px;
background-color: pink;
box-shadow: 10px 9px 10px 0px #999;
/* 注意: 外阴影, 不能添加outset, 添加了会导致属性报错,
不要写出来,内阴影是可以写的 */
/* box-shadow: 5px 10px 20px 10px green outset; */
}
</style>
</head>
<body>
<div class="box"></div>
</body>
</html>