terribleMia’s avatarterribleMia’s Twitter Archive—№ 12,405

  1. …in reply to @ayoungh
    ayoungh Selector specificity is only compared inside each layer, not across layers. So you can write more expressive selectors while still maintaining proper priority of styles in the cascade. Eg utility classes > components > design system > resets (or whatever layers work for you)