I add some -webkit in the CSS and FF does not see it, in Chrome it works fine. (-webkit-box-shadow)
I'm putting together a website, and as all do I test in all browser. I decided to use shadowing and added -webkit-box-shadow in the CSS for some elements. It works fine in Chrome, not at all in FF3.6
I'm putting together a website, and as all do I test in all browser. I decided to use shadowing and added -webkit-box-shadow in the CSS for some elements. It works fine in Chrome, not at all in FF3.6
تمام جوابات (2)
Webkit is the name of the rendering engine used in browsers like Safari and Chrome. CSS properties prefixed with -webkit- only work in Webkit-based browsers. For compatibility with Firefox 3.5 and higher, use -moz-box-shadow.
For more information, see Mozilla Developer Center - box-shadow
Thank you Gingerbread_Man, that did the trick!