Wireless Army
This is a blog / tips and tricks website for web developers and security researchers.
follow us in feedly


css full screen fade background color
by admin
 at 2017-04-09 00:09:00.

how to made full screen fading color as background
fist is the starting point then colors in order.
body {
   /* Safari 4+, Chrome 1-9  */
   background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#EEEEEE), to(#A5A5A5), to(#EEEEEE));
   /* Safari 5.1+, Mobile Safari, Chrome 10+ */
   background: -webkit-linear-gradient(top, #A5A5A5, #EEEEEE, #A5A5A5)  no-repeat center center fixed; 
   /* Firefox 3.6+ */
   background: -moz-linear-gradient(top, #A5A5A5, #EEEEEE, #A5A5A5) no-repeat center center fixed;
   /* IE 10+ */
   background: -ms-linear-gradient(top, #A5A5A5, #EEEEEE, #A5A5A5) no-repeat center center fixed;
   /* Opera 11.10+ */
   background: -o-linear-gradient(top, #A5A5A5, #EEEEEE, #A5A5A5) no-repeat center center fixed;
}