CSS3
Exercise 12 / 15
CSS Borders
Easy
10 points
Add a solid 2px red border around the div.
The border property creates a border around an element. The syntax is: border: width style color. Common styles are solid, dashed, dotted, double. border can be defined globally or by side (border-top, border-left, etc.).
Well done! 🎉
Your answer is correct! You earned 10 points.
Not quite...
Try again! You can do it.
Your code
CSS3
Result