🔵🟡 Conditional CSS with :has and :nth-last-child
by Ahmad Shadeed @shadeed9

#css #pseudoclass #nthlastchild #has #webdev

https://ishadeed.com/article/conditional-css-has-nth-last-child/

Conditional CSS with :has and :nth-last-child - Ahmad Shadeed

A modern look at how to combine CSS :has, :nth-last-child, and style queries to create dynamic components.

Ahmad Shadeed Blog