Rounded Corners
Rounded corners are everywhere on modern websites: on buttons, cards, input fields and profile pictures. They are made with the border-radius property:
border-radius: 10px;The value is the radius of the rounding: the larger it is, the rounder the corners. The rounding applies to the whole box, so it also works on an element that has only a background color and no border.
Percentages are useful too: border-radius: 50% turns a square into a circle, which is how round profile pictures are made. Here is a box with border-radius: 12px and a square with border-radius: 50%:
Rounded corners
Instructions
- 1
In the rule for
.group, #breeds, addborder-radius: 12px.