White Maskers White Maskers - 1 month ago 7
CSS Question

Is it possible to apply `border-radius` for a specific corner ?

I know that it's possible to apply border-radius commonly to an area.but now I working on a design which contain different values of corner radius. Is it possible to apply

border-radius
for a specific corner ?

Answer

Choose which corner you want to round and pick one of the four following lines.

border-radius: 10px 0 0 0;
border-radius: 0 10px 0 0;
border-radius: 0 0 10px 0;
border-radius: 0 0 0 10px;
Comments