1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

box shadow CSS

Discussion in 'XenForo Questions and Support' started by pank, Mar 10, 2011.

  1. pank

    pank Active Member

    Just curious if it is safe (for cross browser compatibly) to just use


    As opposed to putting webkit- Moz- etc. in front of it in the CSS?
    I've only tested on Mac (Safari / Chrome / FF 3.x) so far and it seems to work fine, but I'd feel better with some backup opinions :)

    Thanks in advance! :)

    I did search Google but really didn't find any definitive answer.
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. pank

    pank Active Member

    Thanks, looks like it may be best to use all the prefixes...

  4. Mike

    Mike XenForo Developer Staff Member

    With XF, it's safe as we translate to the browser-specific versions automatically.
    DBA likes this.
  5. pank

    pank Active Member

    Oh man, that is sweet! Thank Mike.
    Just so I'm clear it "is" safe to just use those without "any" prefix at all?
    Thanks again...
  6. Mike

    Mike XenForo Developer Staff Member

    Yep. We do border/outline-radius, box-shadow, text-shadow, box-sizing, transform, and rgba borders/backgrounds.
  7. bogus

    bogus Guest

  8. pank

    pank Active Member

    Thanks Mike (y)
  9. Brogan

    Brogan XenForo Moderator Staff Member

    Heh, for some reason I assumed you meant for use outside XenForo, on another project :rolleyes:

    Still, at least you've got that handy guide now :D

Share This Page