What rounded approach should be adopted?

So there is no shortage of information on rounded corners, and I went through most of this, and I publish to get the opinions of the communities on this.

My scenario is that we develop a rounded corner design dependent, mostly used for communication ( <button>and <a>). We are going to use the border radius for good browsers on a block that plays well with it, and then use the server to send JavaScript to browsers that don't.

What interests me is what to use to scale browsers that ignore CSS border frames? I need something that works on a button as well as a div, etc. I look at the following and find that some do not play well with <button>. Also, the site already uses jQuery.

http://www.curvycorners.net/ - http://code.google.com/p/jquerycurvycorners/

http://www.html.it/articoli/niftycube/index.html

http://www.malsup.com/jquery/corner/

Edit: I also looked at http://www.dillerdesign.com/experiment/DD_roundies/ , and at the moment he seems to be the strongest candidate for me.

+3
source share
6 answers

, , . , , , javascript, , , " " ..

+2

, -webkit-border, -moz-border Webkit Mozilla. IE, javascript. , !

+1

spiffycorners.com 100% - CSS, IE6! , ...

+1

Javascript, . , Javascript, JQuery ( ).

Applying an effect to many elements can be very cumbersome for the browser in terms of memory usage. I had quite a few browser crashes due to being too generous in applying corner effects.

0
source

Have you looked at the play by Stu Nicolis? His Snazzy Borders and Krazy Korners are a great cross-browser.

0
source

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


All Articles