I would like to use CSS to create a nice round border. I know about the following CSS style:
border-radius -webkit-border-radius -moz-border-radius
Which style is best to use?
/* Gecko browsers */ -moz-border-radius: 5px; /* Webkit browsers */ -webkit-border-radius: 5px; /* W3C syntax - likely to be standard so use for future proofing */ border-radius: 5px;
Internet Explorer 6 and 7 and 8 (as far as I know) and Opera do not support rounded corners. Instead, these users will see the right angle.
Firefox Mozilla. - Apple WebKit , - Safari Chrome, iPhone , WebKit.
http://shapeshed.com/journal/css3_tour_border-radius/
IE http://woork.blogspot.com/2009/08/css3-rounded-corners-for-every-browser.html
http://www.css3.info/a-border-radius-solution/
. http://www.the-art-of-web.com/css/border-radius/
.
, Mozilla, WebKit , .
(). -moz Mozilla -webkit, Webkit. , , , CSS3 .
-webkit-border-radius -, Safari Chrome. -moz-border-radius - Mozilla, Firefox. border-radius - , , , Opera .
Use all 3 to ensure maximum compatibility.
just use "border-radius" since most websites have standardized their css support using "border-radius" will also work in any other browser, for example: IE9 or IE 10 without any user prefix.
Further reading on border-radius properties http://www.learntby.me/css/css_borderadius.php
Source: https://habr.com/ru/post/1726951/More articles:PolicyException when using the DotNetOpenAuth library - asp.netEmacs disables modes - emacsCall currentModalViewController twice? - iphoneGetting error when initializing Membership.Provider for the first time after restarting the application - c #Раздел объектов OpenGL gluUnProject - raytracingHow to set item in DropDownList as default value? - c #Heap Interlace Error - c ++how to get the identifier of the audio device to transmit to NSSound setPlaybackDeviceIdentifier: - macosObjective-C memory leak confusion - objective-cTutorials for creating a reliable small-to-medium project * nix build - unixAll Articles