Skip to content
Justice Tech School

Borders and Radius

border and rounded classes shape boxes.

Example
<div class="border border-2 border-primary rounded p-3">Box</div>
<img class="rounded-circle" src="a.png" alt="">
<div class="border-top">Top only</div>

Exercise

Round.

class="-circle"

Quiz Test

Which makes an image round?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.