Chrome Reflection on Desktop Computers
By using Chrome on a desktop computer, I am able to create an image reflection with the following CSS code:
img {
-webkit-box-reflect: below 0 -webkit-gradient(
linear,
left top,
left bottom,
from(transparent),
color-stop(.7, transparent),
to(white)
);
}
Issue with Android Chrome
Upon testing the reflection effect on Android's Chrome browser, I noticed that the mask does not function as intended. Instead of a true mask, it appears as a plain overlay gradient. How can I transform this into a genuine mask? My real website features a patterned background, making a plain overlay gradient unsuitable for gradually revealing the background.