Create a gradient background, but use rgba colors. The last value will indicate opacity, 1.0 for fully opaque, 0.0 for completely transparent.
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(30,87,153,1)), color-stop(100%,rgba(125,185,232,0)));
Above - from blue to transparent gradient.
source share