[wd_asp elements=’search’ ratio=’100%’ id=1]

CSS opacity background color not the text

19th January 2016

CSS

Css - Codehaven

rgba is the transpancy layer

#div {
background: rgb(54, 25, 25); /* Fall-back for browsers that don't
support rgba */
background: rgba(54, 25, 25, .5);
}

The gradient shown is here

background: -moz-linear-gradient(to bottom, #FFFFFF, #0099ff);
background: linear-gradient(to bottom, #FFFFFF, #0099ff);