📜 ⬆️ ⬇️

Rounded corners HTML + CSS + jQuery

The rounded corners once again excite habravchan, in the last 24 hours I observed 2 interesting topics with different ways of rounding these same corners. I decided to show what I use myself.
I just want to make a reservation that I do not pretend to the uniqueness of this method, but I thought of it myself.
image

I will give a brief description and a screen code. Read more here .

HTML


image

jQuery


image

CSS


image

Features


As you can see, each set of elements <b class = '..'> <em> </ em> </ b> forms a strip of one pixel with borders along the edges.

Short summary:

Download


Download health ...

By the way, if someone can show how to do it not on jQuery, but on other libraries, I will include it as an alternative to the page.
')
====

There was a javascript solution without jQuery , thanks to Zitrix .

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


All Articles