(CSS) Linear Gradient

  1. .gradient {
  2.   background-color: #444444;
  3.   background-image: -webkit-gradient(linear, left top, left bottom, from(#444444), to(#999999));
  4.   background-image: -webkit-linear-gradient(top, #444444, #999999);
  5.   background-image:    -moz-linear-gradient(top, #444444, #999999);
  6.   background-image:     -ms-linear-gradient(top, #444444, #999999);
  7.   background-image:      -o-linear-gradient(top, #444444, #999999);
  8.   background-image:         linear-gradient(top, #444444, #999999);
  9.             filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=‘#444444′, EndColorStr=‘#999999′);
  10. }
This entry was posted in Uncategorized and tagged , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Why ask?

  • Advertisement

  • Categories