I have CSS to display a reflection of an element that uses -webkit-gradient to fade out:
.foo { -webkit-box-reflect: below 0 -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), to(rgba(255, 255, 255, 0.5)), color-stop(0.7, transparent)); }
- In browsers that support -webkit-box-reflect, such as chrome, this displays a reflection of the element, which gradually disappears as expected.
- In browsers that do not support it at all, reflection is not displayed.
However, the reflection in the Android browser is displayed, but it does not disappear.
Is there any way to get Android:
- the reflection goes out, or
- do not show reflection at all.
I know that I could use javascript to detect the browser and change the style accordingly, but I would prefer only for the CSS solution.