Shadow Ladder
Shadow strength in steps
Preview
HTML
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
</ul>
CSS
:root {
--ink: #241c16;
--paper: #fffaf1;
--accent: #d4552b;
--accent-2: #4338ca;
--on-accent: #fff;
--muted: #6a6156;
--line: #d7ccb8;
--chip: #efe6d6;
}
ul {
display: flex;
gap: 0.8rem;
padding: 0;
list-style: none;
}
li {
display: grid;
place-items: center;
width: 3.2rem;
height: 3.2rem;
border-radius: 0.8rem;
background: var(--paper);
font-weight: 800;
}
li:nth-child(1) { box-shadow: var(--shadow-1); }
li:nth-child(2) { box-shadow: var(--shadow-2); }
li:nth-child(3) { box-shadow: var(--shadow-3); }