Attempting to enhance a div with a reflection using the following CSS:
CSS ::
div.reflection
{
-webkit-transform: scaleY(-1);
-moz-transform: scaleY(-1);
-o-transform: scaleY(-1);
-ms-transform: scaleY(-1);
transform: scaleY(-1);
opacity:0.6;
background-color: red;
position:absolute;
top:82%;
height:30%;
width:100%;
}
The reflection is visible but it appears as a flipped image with reduced opacity. How can I further style the reflection to achieve the desired effect shown in the image below?
However, with my current CSS, the result looks like this: