Loading video...

Video Failed to Load

Go Home

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

11,067 views โ€ข 1 year ago โ€ขvia X (Twitter)

5 Comments

Una ๐Ÿ‡บ๐Ÿ‡ฆ's profile picture
Una ๐Ÿ‡บ๐Ÿ‡ฆ1 year ago

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

Gilbert Matos | Nodejs/Nextjs/C#'s profile picture
Gilbert Matos | Nodejs/Nextjs/C#1 year ago

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

๐˜ผ๐™‚๐™† ๐Ÿฆ•'s profile picture
๐˜ผ๐™‚๐™† ๐Ÿฆ•1 year ago

Great stuff. ๐Ÿ‘ Thanks for sharing.

Luke Edwards's profile picture
Luke Edwards1 year ago

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

Una ๐Ÿ‡บ๐Ÿ‡ฆ's profile picture
Una ๐Ÿ‡บ๐Ÿ‡ฆ1 year ago

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

Related Videos