I have a div, and inside i want to put a background-image. but the top of the div should be a black gradient. Mainly, there should be a gradient at the top and after it i want the background-image to start. I just tried something like this which didn't work.\[code\]background: -webkit-linear-gradient(top, black, white 2% ),url(http://subtlepatterns.subtlepatterns.netdna-cdn.com/wp-content/themes/tweaker6/images/bgnoise.png );\[/code\]Edit: I also tried giving an offset, but i guess my problem is that i repeat the image, so it can't be positioned.