Home HTML CSS JAVASCRIPT BOOTSTRAP Python Docker ML tutorial About us Privacy policy

Rounded Corners in CSS


Rounded Corners in CSS:-



Rounded Corners

With the CSS border-radius property

border-radius Property:-

the border-radius property defines the radius of an element's corners on the HTML.

Code family




border-radius - Specify Each Corner:-

The border-radius property can be using one to four values for radius.
Four values - border-radius: 25px 40px 20px 3px;



  • first value applies to top-left corner,
  • second value applies to top-right corner,
  • third value applies to bottom-right corner,
  • fourth value applies to bottom-left corner,


  • Code family




    create elliptical corners:-