Welcome to WebmasterWorld Guest from 54.221.54.252

Forum Moderators: not2easy

Message Too Old, No Replies

box shadow and border radius

how to be browser compatible

     
8:58 pm on Nov 13, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 21, 2002
posts: 1542
votes: 0


Currently I only have
border-radius
or box-shadow

but do I need to include the moz and webkit prefixes to make it browser compatible. Can someone please explain what this all about?
12:29 am on Nov 14, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 15, 2003
posts:928
votes: 21


You don't need -moz for either property, but you probably should include the -webkit because the Android Browser still needs it for both.
2:13 am on Nov 14, 2012 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:Apr 9, 2011
posts:13218
votes: 348


If you can believe caniuse dot com, the last couple of androids are fine with border-radius but still want a prefix for box-shadow.

They also, no surprise, claim that MSIE < 9 doesn't do either one. And when MSIE doesn't do something, they don't mess around. No futzing around with prefixes. Same for Opera Mini, but that's not a vast market.