Tsallaka zuwa abun ciki
Justice Tech School

Borders, Rounding and Shadows

Use border, border-top, rounded, rounded-pill and shadow, shadow-sm or shadow-lg to style boxes without CSS.

Example
<div class="border border-2 border-primary rounded-3 shadow-sm p-3">Card like box</div>

Exercise

Add a shadow.

-lg

Quiz Test

Which class rounds pill shapes?

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