.parent { color: lightgreen; } .child { background-color: currentColor; }