Jordan Brennanjordanbrennan.hashnode.devยทFeb 12, 2024HTML Button Group for the OCDThe CSS :has pseudo-class enables squeaky clean markup for group components, like a button group. Mdash recently shipped its button group using :has and the OCD within me ranks the markup 5 out of 5: <div role="group"> <button ord="secondary" aria-...57 readsCSSAdd a thoughtful commentNo comments yetBe the first to start the conversation.