Owing to the same RGBA value, i.e 0.0.0.0.5 repeated 4 times, surely this could be simplified?
#main > header {
background-image: -moz-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../.jpg");
background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../.jpg");
background-image: -ms-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../.jpg");
background-image: linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../.jpg");
}
The purpose of this code is for gradient values but there is no gradient - it is being used as opacity hence my question...so surely there is an easier approach and just have one line of CSS rather than all these variations?
Thanks for all help