linear beckdrop filter gradient css code example

Example 1: gradient background css for all browsers

background-image: -webkit-linear-gradient(top, #0C93C0, #FFF); 
background-image:    -moz-linear-gradient(top, #0C93C0, #FFF); 
background-image:     -ms-linear-gradient(top, #0C93C0, #FFF); 
background-image:      -o-linear-gradient(top, #0C93C0, #FFF); 
background-image:         linear-gradient(top, #0C93C0, #FFF);

Example 2: html container farbverlauf

pre {
   background-image: repeating-linear-gradient(#efefef,#efefef 22px, white 22px, white 44px);
   font-size: 0.9rem;
   line-height: 22px;
}

Tags:

Html Example