<div class="music-title">
时间都去哪儿了
</div>
<style scoped>
.music-title{
font-size: 40px;
color: #de6f64;
background-image: -webkit-linear-gradient(left,
#ffdcb4,
#b96972 25%,
#e88a57 50%,
#804170 75%,
#a596cd 100%);
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
-webkit-background-size: 200% 100%;
-webkit-animation: masked-animation 2.5s infinite linear;
}
@-webkit-keyframes masked-animation {
0% {
background-position: 0 0;
}
100% {
background-position: -100% 0;
}
}
</style>