📜  什么是影子屋 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:52.097000             🧑  作者: Mango

代码示例1
.yourElement {
  /* offset-x | offset-y | blur-radius | spread-radius | color */
  -webkit-box-shadow: -2px -1px 15px 7px rgba(0,0,0,0.5);
  -moz-box-shadow: -3px -2px 30px 14px rgba(0,0,0,0.425);
  box-shadow: -4px -3px 45px 21px rgba(0,0,0,0.35);
}