terribleMia’s avatarterribleMia’s Twitter Archive—№ 9,571

    1. …in reply to @SaraSoueidan
      SaraSoueidan This is an interesting approach I hadn’t considered. But I think one of the primary advantages of scope would be allowing proximity to override source order: @ scope (.light) { a { color: purple; } } @ scope (.dark) { a { color: plum; } } I’d want the _inner_ scope to win…
  1. …in reply to @TerribleMia
    SaraSoueidan So that: <div class="dark"> <a href="#">plum</a> <div class="light"> <a href="#">purple</a> </div> </div> (That could still work with your idea of ID-like specificity, but would override source-order as a fallback)