background gradient css
> Finding creating cross browser gradients to be a bit of a git hopefully
this will get simpler (in time) but
this provides a good starting point to start testing from
http://www.colorzilla.com/gradient-editor/
Wish code didn't end up like this (just an example)
Wish code didn't end up like this (just an example)
background: #a90329; /* Old browsers */
background: -moz-linear-gradient(top, #a90329 0%, #ed04c2 13%, #04ccd3
40%, #0cba03 76%, #6d0019 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom,
color-stop(0%,#a90329), color-stop(13%,#ed04c2),
color-stop(40%,#04ccd3), color-stop(76%,#0cba03),
color-stop(100%,#6d0019)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #a90329 0%,#ed04c2 13%,#04ccd3
40%,#0cba03 76%,#6d0019 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #a90329 0%,#ed04c2 13%,#04ccd3
40%,#0cba03 76%,#6d0019 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #a90329 0%,#ed04c2 13%,#04ccd3
40%,#0cba03 76%,#6d0019 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient(
startColorstr='#a90329', endColorstr='#6d0019',GradientType=0 ); /* IE6-9 */
background: linear-gradient(top, #a90329 0%,#ed04c2 13%,#04ccd3
40%,#0cba03 76%,#6d0019 100%); /* W3C */
/ Adam