css3 - Using css, can I combine pattern gradient (4px by 4px) and transparent gradient (all over the page) -
i'm trying overlay 2 different gradients, without using image:
- one repeatable gradient (6px 6px) makes hash-like image.
- one vertically transparent gradient on page (100% 0%).
here code tried unsuccefully:
html{ background: -moz-linear-gradient(top, transparent 0%, #ffffff 100%); background-repeat: no-repeat; background-attachment: fixed; } body{ background: -moz-linear-gradient(45deg, #c6c6c6 0%, #c6c6c6 25%, #ffffff 25%, #ffffff 50%, #c6c6c6 50%, #c6c6c6 75%, #ffffff 75%, #ffffff 100%); background-size: 6px 6px; }
any idea possible ?
Comments
Post a Comment