Hi Matt, thank you for posting this article!
Rogier Spieker

I understand the reluctance of putting classes on LIs since they have to be children of ULs and OLs, but not putting them breaks the first 2 points I raised. Your CSS is no longer consistent as you’re now using arbitrary tags to style and the specificity is changed.

Also, LIs can have multiple classes, a base .o-list__item which sets up defaults and a specific .block__item which styles them additionally for that block.


Like what you read? Give Matt Stow a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.