Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

And here's that Codepen refactored as promised using sibling-index()

11,067 Aufrufe • vor 1 Jahr •via X (Twitter)

5 Kommentare

Profilbild von Una 🇺🇦
Una 🇺🇦vor 1 Jahr

always has good stuff covered: And more here too from @monknow_dev:

Profilbild von Gilbert Matos | Nodejs/Nextjs/C#
Gilbert Matos | Nodejs/Nextjs/C#vor 1 Jahr

absolutely incredible. CSS is love, CSS is life. Tysm for sharing Una!

Profilbild von 𝘼𝙂𝙆 🦕
𝘼𝙂𝙆 🦕vor 1 Jahr

Great stuff. 👏 Thanks for sharing.

Profilbild von Luke Edwards
Luke Edwardsvor 1 Jahr

Very cool! Curious what the reasoning was for non-zero indexing though

Profilbild von Una 🇺🇦
Una 🇺🇦vor 1 Jahr

I missed most of the feature dev on this one but I imagine its because of consistency with nth-child

Ähnliche Videos