:current(p, span) { background-color: yellow; } :past, :future { display: none; }