<style> div { width: 300px; height: 100px; background-color: yellow; box-shadow: 10px 30px 10px 30px #888888; < !--第三个参数为模糊距离,第四个为模糊尺寸--> } </style> <div></div>