1D0-720 · Question #83
Which CSS3 property is used to create rounded borders?
The correct answer is A. border-radius. border-radius is the CSS3 property that rounds the corners of an element's border box - you can set it in pixels, percentages, or other length units (e.g., border-radius: 8px). Why the distractors are wrong: B. border-style controls the line style (solid, dashed, dotted, etc.)…
Question
Which CSS3 property is used to create rounded borders?
Options
- Aborder-radius
- Bborder-style
- Cborder-curve
- Dborder-edge
How the community answered
(20 responses)- A90% (18)
- B5% (1)
- C5% (1)
Explanation
border-radius is the CSS3 property that rounds the corners of an element's border box - you can set it in pixels, percentages, or other length units (e.g., border-radius: 8px).
Why the distractors are wrong:
- B.
border-stylecontrols the line style (solid, dashed, dotted, etc.) - not corner shape. - C.
border-curvedoes not exist in CSS. - D.
border-edgealso does not exist in CSS.
Memory tip: Think of a physical border wall with radius like a circular arc - a larger radius = a more curved corner, just like in geometry. If you can picture a circle's radius smoothing out a sharp corner, border-radius is unforgettable.
Topics
Community Discussion
No community discussion yet for this question.