CSS background gradient not working in Google Chrome -
i'm using following css try vertical background gradient display in browsers.
it works fine in firefox not displaying in chrome.
you can see i'm trying apply gradient in footer section of http://blog.bmxboss.com
background: -moz-linear-gradient(top, #222222 0%, #111111 100%); /* ff3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#222222), color-stop(100%,#111111)); /* chrome,safari4+ */ background: -webkit-linear-gradient(top, #222222 0%,#111111 100%); /* chrome10+,safari5.1+ */ background: -o-linear-gradient(top, #222222 0%,#111111 100%); /* opera 11.10+ */ background: -ms-linear-gradient(top, #222222 0%,#111111 100%); /* ie10+ */ background: linear-gradient(to bottom, #222222 0%,#111111 100%); /* w3c */ filter: progid:dximagetransform.microsoft.gradient( startcolorstr='#222222', endcolorstr='#111111',gradienttype=0 ); /* ie6-9 */
how can make work in chrome?
using a tool made generate css gradients, css gradient #222222
#111111
, support browsers:
background: #222222; background: -moz-linear-gradient(top, #222222 0%, #111111 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#222222), color-stop(100%,#111111)); background: -webkit-linear-gradient(top, #222222 0%,#111111 100%); background: -o-linear-gradient(top, #222222 0%,#111111 100%); background: -ms-linear-gradient(top, #222222 0%,#111111 100%); background: linear-gradient(to bottom, #222222 0%,#111111 100%); filter: progid:dximagetransform.microsoft.gradient( startcolorstr='#222222', endcolorstr='#111111',gradienttype=0 );
here a working jsfiddle.
Comments
Post a Comment