Add color mixing with CSS linear-gradient - HTML CSS CSS Property

HTML CSS examples for CSS Property:linear-gradient

Description

Add color mixing with CSS linear-gradient

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
div {<!--from www .j av  a 2 s . c  om-->
   background-blend-mode:screen;
   background:linear-gradient(to right, Chartreuse, yellow),
   linear-gradient(to right, blue, pink);
   background-position:0 0,
   100px 100px;
   background-repeat:no-repeat;
   background-size:201px 201px,
   201px 201px;
   height:301px;
   width:301px;
}
</style> 
 </head> 
 <body> 
  <div></div>  
 </body>
</html>

Related Tutorials