What Javascript (Not.htc) solution can really make a corner rounded corner in IE7 and 8?

What JavaScript solution can (non .htc) really make Anti-aliased round corner in IE7 and 8, for example, CSS3in supported browsers?

I've tried a lot

http://www.ruzee.com/blog/ruzeeborders/

http://blue-anvil.com/archives/anti-aliased-rounded-corners-with-jquery/

http://www.curvycorners.net/

Everyone pretends to provide a smooth angle, but give such angles

alt text http://shup.com/Shup/375652/11063104941-My-Desktop.png

But no one gives a smooth angle. if i need a 10pxround corner.

+2
source share
1

.

. .

CSS3 , , .

jQuery.wrap() , . :

HTML

<div class="round">
    <p>Hi, I'm a paragraph</p>
</div>

CSS

.round {
    border: 1px solid red;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

JQuery

if ($.browser.msie) {
    $('.round').wrap('<div class="tl"><div class="tr"><div class="bl"><div class="br"></div></div></div></div>');
}

.

+1

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


All Articles