跳到主要内容

涉及倒影

目前只有 WebKit 支持,私有属性为 -WebKit-box-reflect 。

-web-box-reflect: <direction> <offset> <mask-box-image>;
  • direction: 反射方向,取值包括 above 、 below 、 left 、 right
  • offset :偏移距离
  • mask-box-image :遮盖图像