Cover-hintergrund-Bild mit transparentem hintergrund-Farbe (Vollbild)

möchte ich auf mein hintergrund Bild mit transparenter Farbe,aber die Farbe deckt nicht das hintergrund Bild.

hier ist meine demo:
http://jsfiddle.net/farna/73kx2/

css-code:

.overlay{
    background: rgba(0,0,255,0.5);
    margin: 0 ;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
}
  • benutzt du die Deckkraft ?
InformationsquelleAutor Farna | 2014-08-06
Schreibe einen Kommentar