It is very simple to create a rounded border by specifying a specific angle: -
If you want to create the upper left corner rounded and all other corners straight, use this code instead of "border-radius" and specify the desired value in pixels
border-top-left-radius: 10px; -moz-border-top-left-radius: 10px; -webkit-border-top-left-radius: 10px;
You can do this in another way: -
border-radius: 10px 0px 0px 0px;
where the first is in the upper left corner (10px), the second is for the upper right corner (0px), the third is for the lower right corner (0px), and the fourth is for the lower left corner (0px).
only the top left corner will be rounded, and all other corners will remain the same
source share