iOS Background Image Gradient: how do you do it?

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
simonmlewis
DevNet Master
Posts: 4434
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

iOS Background Image Gradient: how do you do it?

Post by simonmlewis »

Code: Select all

 background-image: linear-gradient(to bottom, transparent, #DFDDDE);
This works on all other browsers except Apple devices.
I need it to "fade out" to the color of the box which is also DFDDDE. So the top is transparent, and the bottom is the colour.

How do you do it in iOS CSS?
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
Post Reply