.note {
  padding: 0.5rem;
  border: 1px solid silver;
}

.note:target {
  border-color: goldenrod;
  background-color: lemonchiffon;
}