coding help

Reflections are similar to shadows, and reflect the text under it. You can change the attributes, like the color, and is a WikiText and CSS element.

Code

<div style="-webkit-box-reflect: below 0px linear-gradient(to bottom, rgba(0,0,0,0.0), rgba(0,0,0,0.5));">Text</div>

Result:

Text


Usually, you'll have to add a <br> for it to show up.

Adding More Attributes

To change the color of the reflection, you can change the rgba(0,0,0,0.5) part of the shadow. You can either use HEX codes, named colors, RGB, or HSV—the latter two are the most recommended, since you can change the opacity of them.