0
0
CSSmarkup~5 mins

Border radius in CSS - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
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?
Aborder-radius
Bborder-style
Cborder-width
Dborder-color
How do you round only the bottom-right corner of a box?
Aborder-radius-bottom
Bborder-bottom-right-radius
Cborder-radius-bottom-right
Dborder-bottom-radius
What happens if you set border-radius: 50% on a square element?
AIt becomes a square with sharp corners
BIt becomes a rectangle
CIt becomes a circle
DIt disappears
Which unit is NOT valid for border-radius?
Apx
Bem
Crem
Ddeg
How do you apply different rounding to each corner?
AUse four values in <code>border-radius</code>
BUse only one value in <code>border-radius</code>
CUse <code>border-style</code>
DUse <code>border-width</code>
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.