Is "border radius" acceptable?

I am building a website and would like to know if the CSS property "borderRadius" is acceptable. For example, should one expect everyone to have a browser that supports it, or is it still not too supported, that I shouldn't use it?

+5
source share
2 answers

A good time to check out http://caniuse.com is for specific information about which browsers support and which don't. In addition, http://css3please.com will tell you the right way to implement it for the broadest possible support.

, , . :

.box_round {
  -webkit-border-radius: 12px; /* Saf3-4, iOS 1-3.2, Android ≤1.6 */
          border-radius: 12px; /* Opera 10.5, IE9, Saf5, Chrome, FF4+, 
                                  iOS 4, Android 2.1+ */

  /* useful if you don't want a bg color from leaking outside the border: */
  -webkit-background-clip: padding-box;
     -moz-background-clip: padding; 
          background-clip: padding-box;      
}

, , . - , . , .

+4

, , , . , , . .

, .

+2

All Articles