Sections
Box shadow
Figma
Box shadow atomic classes allow you to change an element’s box shadow quickly.
Classes
Section titled ClassesClass | Output | Hover? | Focus? | Responsive? |
---|---|---|---|---|
.bs-none |
box-shadow: none; |
|||
.bs-sm |
box-shadow: 0 1px 2px hsla(0, 0%, 0%, 0.05), |
|||
.bs-md |
box-shadow: 0 1px 3px hsla(0, 0%, 0%, 0.06), |
|||
.bs-lg |
box-shadow: 0 1px 4px hsla(0, 0%, 0%, 0.09), |
|||
.bs-xl |
box-shadow: 0 10px 24px hsla(0, 0%, 0%, 0.05), |
|||
.bs-ring |
box-shadow: 0 0 0 var(--su-static4) var(--focus-ring); |
Examples
Section titled Examples<div class="bs-sm">…</div>
<div class="bs-md">…</div>
<div class="bs-lg">…</div>
<div class="bs-xl">…</div>
<div class="bs-ring">…</div>