p { background-color: red; }
p:not(:target) { background-color: lime; }