Avatar Fan Stack
Avatar stack that fans out on hover
AMJDKVLP+6
Teamleden online
How to use it
- Paste the HTML where the components should appear.
- Add the CSS to your stylesheet. All classes are prefixed, so nothing clashes with your own styles.
- No JavaScript needed.
<!-- Avatar Fan Stack · Bron: Uiverse · licentie MIT. Laat deze vermelding staan bij hergebruik. -->
<div class="jouw-container">
<div class="avf"><div class="avf-row"><span class="avf-a" style="--c:#F5480F">AM</span><span class="avf-a" style="--c:#0a0a0a">JD</span><span class="avf-a" style="--c:#d4663a">KV</span><span class="avf-a" style="--c:#475569">LP</span><span class="avf-a avf-more">+6</span></div><div class="avf-lab">Teamleden online</div></div>
</div>/* Avatar Fan Stack · Bron: Uiverse · licentie MIT. Laat deze vermelding staan bij hergebruik. */
.avf{width:300px;display:flex;flex-direction:column;align-items:center;gap:12px;font-family:'Switzer',sans-serif}
.avf-row{display:flex}
.avf-a{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:700;color:#fff;background:var(--c,#0a0a0a);border:3px solid #fff;margin-left:-14px;box-shadow:0 4px 10px -4px rgba(10,10,10,.5);transition:margin .35s cubic-bezier(.6,.05,.1,1),transform .25s}
.avf-a:first-child{margin-left:0}.avf-more{background:#fff;color:rgba(10,10,10,.6);border:3px solid rgba(10,10,10,.12)}
.avf-row:hover .avf-a{margin-left:4px}.avf-row:hover .avf-a:first-child{margin-left:0}.avf-a:hover{transform:translateY(-6px)}
.avf-lab{font-size:12px;font-weight:600;color:rgba(10,10,10,.55)}
More components
Seen something you like?
Add it to your selection and send it over. We build your site around it, in your brand.
Get in touch →