And here's that Codepen refactored as promised using sibling-index()
Una ๐บ๐ฆ
Visit on X@Una88K followers
11,094 views
And here's that Codepen refactored as promised using sibling-index()
5 Comments
Comments from the original post on X (Twitter)

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

@Punisherx6
absolutely incredible. CSS is love, CSS is life. Tysm for sharing Una!
1 like

@agkTF
Great stuff. ๐ Thanks for sharing.

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

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