Path: blob/main/files/en-us/web/css/-webkit-box-reflect/index.md
6546 views
------{{CSSRef}}{{Non-standard_Header}}
The -webkit-box-reflect CSS property lets you reflect the content of an element in one specific direction.
Syntax
Values
above,below,right,left: Are keywords indicating in which direction the reflection is to happen.
{{CSSxRef("<length>")}}
: Indicates the size of the reflection.
{{CSSxRef("<image>")}}
: Describes the mask to be applied to the reflection.
Formal definition
{{CSSInfo}}
Formal syntax
Specifications
Not part of any standard. The standard way to do reflection in CSS is to use the CSS {{CSSxRef("element", "element()")}} function.
Browser compatibility
{{Compat}}
See also
The Apple documentation.
The Webkit specification.
Lea Verou's article on reflection using CSS features on the standard track.