Recall & Review
beginner
What does the CSS property
border-radius do?It rounds the corners of an element's border, making them curved instead of sharp.
Click to reveal answer
beginner
How do you make all four corners of a box have the same rounded curve?
Use
border-radius with one value, like border-radius: 10px;.Click to reveal answer
intermediate
How can you round only the top-left corner of a box?
Use
border-top-left-radius property, for example: border-top-left-radius: 15px;.Click to reveal answer
beginner
What units can you use with
border-radius?You can use length units like
px, em, rem, or percentages like 50%.Click to reveal answer
beginner
What visual effect does
border-radius: 50%; create on a square element?It creates a circle by rounding the corners fully.
Click to reveal answer
Which CSS property rounds the corners of an element?
✗ Incorrect
border-radius is the property that controls how rounded the corners of an element are.
How do you round only the bottom-right corner of a box?
✗ Incorrect
The correct property is border-bottom-right-radius to target that corner specifically.
What happens if you set
border-radius: 50% on a square element?✗ Incorrect
Setting border-radius: 50% on a square rounds it fully into a circle shape.
Which unit is NOT valid for
border-radius?✗ Incorrect
deg is used for angles, not for border-radius. Length units and percentages are valid.
How do you apply different rounding to each corner?
✗ Incorrect
You can specify four values in border-radius to set each corner's rounding separately.
Explain how to use the
border-radius property to create a circle from a square element.Think about how percentages affect corner rounding.
You got /4 concepts.
Describe how to round only the top-right and bottom-left corners of a box with CSS.
Use specific corner properties.
You got /4 concepts.