.anchor {
  position: relative;
}

.anchor__link {
  position: absolute;
  right: 100%;
  top: 0;
  height: 1lh;
  padding-right: 0.25rem;
  opacity: 0;
  transition: opacity 0.15s ease;
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.anchor:hover > .anchor__link {
  opacity: 0.5;
}

.anchor__link:hover {
  opacity: 1;
}