ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

I add some -webkit in the CSS and FF does not see it, in Chrome it works fine. (-webkit-box-shadow)

  • 2 (ردّان اثنان)
  • 3 have this problem
  • 1 view
  • آخر ردّ كتبه cobolCowboy

more options

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

All Replies (2)

more options

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

more options

Thank you Gingerbread_Man, that did the trick!