参考:
https://www.runoob.com/cssref/css3-pr-box-shadow.html
先看前两个参数的效果:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>卡片效果</title>
<style type="text/css">
#card{
width: 150px;
height: 200px;
box-shadow: 10px 10px ;
font-size: 40px;
text-align: center;
background-color: #aaa;
}
</style>
</head>
<body>
<div id="card">
卡片
</div>
</body>
</html>