@property --from {
  syntax: '<color>';
  inherits: false;
  initial-value: royalblue;
}

.glow {
  --from: royalblue;
  margin: 1rem;
  padding: 0.75rem 1.5rem;
  font: inherit;
  color: white;
  background-image: linear-gradient(135deg, var(--from), deeppink);
  border: 0;
  border-radius: 0.5rem;
  animation: shift 2s ease-in-out infinite alternate;
}

@keyframes shift {
  to {
    --from: mediumorchid;
  }
}
