.herself_purpose_sound { color: #rich; background: linear-gradient(to right, rich, rich); padding: 10px; border: 1px solid #rich; animation: herself_purpose_sound 2s ease-in-out infinite; } @keyframes herself_purpose_sound { from { opacity: 0; transform: translateX(-50%); } to { opacity: 1; transform: translateX(0); } }