Hey there!
Im using these linear gradients with gaussian blur on my site an they look great on desktop but I noticed in mobile they are showing a completely different color. Please see screenshots. I cant find anything to be causing this, is this a bug?
The page this is on is called “The Appcues Experience 2022”
Yes, cleared cache on my phone and had someone else who has never been to the page or on the site view on their phone. Im currently deleting the element and remaking it in hopes that fixes it.
Most probably, it could be the browser rendering issue. Different browsers have different methods to render linear gradients. For example, via code, this is how I would create a cross-browser compatible linear gradient:
background-color: #9e9e9e; /* fallback color if gradients are not supported */
background-image: -webkit-linear-gradient(bottom, rgb(213,12,18), #9e9e9e 40%); /* For Chrome 25 and Safari 6, iOS 6.1, Android 4.3 */
background-image: -moz-linear-gradient(to bottom, #9e9e9e 60%, #454545 100%); /* For Firefox (3.6 to 15) */
background-image: -o-linear-gradient(to bottom, #9e9e9e 60%, #454545 100%); /* For old Opera (11.1 to 12.0) */
background-image: linear-gradient(to bottom, #9e9e9e 60%, #454545 100%); /* Standard syntax; must be last */
Could you try a different browser on the mobile device, specifically, Firefox and Chrome to see if the issue replicates?
Thank you, just did a test on Android running Chrome and the gradient loads perfectly fine. I had a similar issue with SVG gradients on iOS devices and I really think it’s how iOS renders gradients.
My workaround was to create the gradient on Photoshop, export as PNG and absolute position it as needed. Since your design is using it as a static decorative design, I think this would work for you.