It needs a pseudoclass for identifying if that SPECIFIC selector occurs more than once.
an :nth-of-selector() if you will. Where .foo:nth-of-selector(3) means I've selected the third .foo. Not the third element.
It needs a pseudoclass for identifying if that SPECIFIC selector occurs more than once.
an :nth-of-selector() if you will. Where .foo:nth-of-selector(3) means I've selected the third .foo. Not the third element.
@chriscoyier.net explains.
frontendmasters.com/blog/rainbow...
@chriscoyier.net explains.
frontendmasters.com/blog/rainbow...
Learnt about the `:empty()` pseudoclass.
I would have used conditional rendering somehow with hugo's templating, but this is a lot easier :)
Video here: youtu.be/0rZywO6jdU4?...
Learnt about the `:empty()` pseudoclass.
I would have used conditional rendering somehow with hugo's templating, but this is a lot easier :)
Video here: youtu.be/0rZywO6jdU4?...
by @ZoranJambor at @CSSWeekly
#css #PseudoClassIS #PseudoClassWhere #webdev #pseudoclass
youtu.be/NnaBX6SypR8?...
by @ZoranJambor at @CSSWeekly
#css #PseudoClassIS #PseudoClassWhere #webdev #pseudoclass
youtu.be/NnaBX6SypR8?...
by Andy Bell
@belldotbz @belldotbz@mastodon.social
#css #csshas #pseudoclass #webdev
piccalil.li/blog/some-li...
by Andy Bell
@belldotbz @belldotbz@mastodon.social
#css #csshas #pseudoclass #webdev
piccalil.li/blog/some-li...
at @googlechrome
#dir #css #webdev #pseudoclass
chromestatus.com/feature/5751...
at @googlechrome
#dir #css #webdev #pseudoclass
chromestatus.com/feature/5751...