Good / Bad to use -moz-border-radius

Hello!

I noticed that some sites use -moz-border-radiusto get around cornors on elements? Is this a good practice? Are there any flaws?

+3
source share
4 answers

I would recommend adding "-webkit-border-radius" to cover Safari and Chrome and "border-radius" to cover the CSS3 standard.

The only problem is that IE8 will not support rounded corners. But it looks good in all other browsers.

+5
source

( - -moz-border-radius -webkit-border-radius) . ( , ), .

-moz -webkit . css3.info. .

+3

, border-radius . , , , , JQuery , , - , . border-radius CSS .

, , - -. , IE, border-radius. - , -moz-, , .

, , - IE, 8 (IE9 , ). , IE , border-radius ( ) , IE6.

CSS3Pie, , . , CSS3, ​​ border-radius, IE.

+2

CSS border-radius - -. .

border-radius /, , , , , , , , , javascript, CSS3Pie.

" " -. , , , , . , , , CSS - 95% .

border-radius , :

div {
  border-radius:4px;
  -moz-border-radius:4px;
  -webkit-border-radius:4px;
}

, border-radius - , CSS3, , defacto. , , , -moz- (Mozilla Firefox) -webkit- ( Google Chrome Apple Safari).

http://border-radius.com/ / , . .

http://www.css3.info/preview/rounded-border/ Some additional information about vendor support, how to use shorthand, etc.

+2
source

Source: https://habr.com/ru/post/1784983/


All Articles