css - How to show white color after gradient ends instead of gray color? -
i have following css background color/gradient:
background-color: #ffffff; background: -moz-linear-gradient(top, #d7d6d2, #f9ffff); background-image: linear-gradient(top, #d7d6d2, #f9ffff); background-image: -o-linear-gradient(top, #d7d6d2, #f9ffff); background-image: -moz-linear-gradient(top, #d7d6d2, #f9ffff); background-image: -webkit-linear-gradient(top, #d7d6d2, #f9ffff); background-image: -ms-linear-gradient(top, #d7d6d2, #f9ffff);
using able accomplish need after gradient ends there grayish color instead of white. can after gradient ends white color starts showing?
set container background white. in case did html , body demo http://jsfiddle.net/kevinphpkevin/rxxhz/
css
html { height:100%; background-color: #ffffff; } body { padding:0; margin:0; width:100%; height:100%; background-color: #ffffff; background: -moz-linear-gradient(top, #d7d6d2, #f9ffff); background-image: linear-gradient(top, #d7d6d2, #f9ffff); background-image: -o-linear-gradient(top, #d7d6d2, #f9ffff); background-image: -moz-linear-gradient(top, #d7d6d2, #f9ffff); background-image: -webkit-linear-gradient(top, #d7d6d2, #f9ffff); background-image: -ms-linear-gradient(top, #d7d6d2, #f9ffff); }
Comments
Post a Comment