Selector pseudo-class :target

The element with an id attribute value that matches the fragment of the current URL

#news:target
Selects the current active #news element
(clicked on a URL containing that anchor name)

button:target {
  cursor: not-allowed;
  opacity: .5;
}