terribleMia’s avatarterribleMia’s Twitter Archive—№ 10,161

  1. Went down a rabbit hole with LeaVerou's clever custom-property toggles: lea.verou.me/2020/10/the-var-space-hack-to-toggle-multiple-values-with-one-custom-property/ My question is how to handle "else" values. Here's an approach using a second property (with some sass shortcuts to sync them). Is there a better way? codepen.io/mirisuzanne/pen/qBRpard?editors=1100