Post

what were your favorite SASS functions (not mixins)? or just other CSS functions you'd expect to be possible by a vanilla CSS function?

i believe what you're describing is sibling-index(), a function specced to return each elements individual index. this would remove the inline custom properties and become more dynamic, moving it towards your suggestion here yeah? github.com/w3c/csswg-dr...

github.com[css-values] Proposal: add sibling-count() and sibling-index() · Issue #4559 · w3c/csswg-draftsProblem Currently we can query a child based on it's child index position or query on children length (with some complex syntax), but we can't use the index or length as values in our styles. Feels...

1 repost5 likes