Multi color Linear gradients - HTML CSS CSS

HTML CSS examples for CSS:Color

Description

Multi color Linear gradients

Demo Code

ResultView the demo in separate window

<html>
   <head>
      <style>
         #grad2 {<!-- ww w.j a v a 2  s .com-->
            height: 100px;
            background: -webkit-linear-gradient(red, orange, yellow, red, blue, green,pink);
            background: -o-linear-gradient(red, orange, yellow, red, blue, green,pink);
            background: -moz-linear-gradient(red, orange, yellow, red, blue, green,pink);
            background: linear-gradient(red, orange, yellow, red, blue, green,pink);
         }
      </style>
   </head>
   <body>
      <div id="grad2"></div>
   </body>
</html>

Related Tutorials