How to set position for a linear-gradient background in css3
- by Virender Sehwag
I am trying to set the position (that is, margin or padding from top) of body tag's linear background with image.
My code is
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.9), rgb(0, 0, 0)), url("g2hd.jpg");
background-repeat: repeat, no-repeat;
background-attachment: fixed; background-position: 0% 30px, center center;
but 30px is not working
but it works for normal for
background-image:url("g2hd.jpg");
any idea