terribleMia’s avatarterribleMia’s Twitter Archive—№ 7,314

    1. …in reply to @jina
      jina Custom props will only inherit the value of that custom property, at the point inherit is declared. It will not re-calculate when applied: html { --color: red; color: green; } body { --color: inherit; color: blue; } main { color: var(--color); } ^ red
  1. …in reply to @TerribleMia
    jina (since custom props inherit by default, this is only really useful as a way to unset another value.)