I am trying to do this Using CSS, can you apply a gradient mask to fade to the background over text? but I want to apply the gradient from top and bottom.
-webkit-mask-image: -webkit-gradient(linear, left 30%, left bottom, left top, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
http://jsfiddle.net/QZMyd/ but it doesn't work