54 lines
774 B
CSS
54 lines
774 B
CSS
.location {
|
|
opacity: 0;
|
|
position: absolute;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
left: 0;
|
|
right: 0;
|
|
}
|
|
|
|
.location:nth-child(1) {
|
|
animation: quotefade 14s 0s infinite linear;
|
|
}
|
|
|
|
.location:nth-child(2) {
|
|
animation: quotefade 14s 2s infinite linear;
|
|
}
|
|
|
|
.location:nth-child(3) {
|
|
animation: quotefade 14s 4s infinite linear;
|
|
}
|
|
|
|
.location:nth-child(4) {
|
|
animation: quotefade 14s 6s infinite linear;
|
|
}
|
|
|
|
.location:nth-child(5) {
|
|
animation: quotefade 14s 8s infinite linear;
|
|
}
|
|
|
|
.location:nth-child(6) {
|
|
animation: quotefade 14s 10s infinite linear;
|
|
}
|
|
.location:nth-child(7) {
|
|
animation: quotefade 14s 12s infinite linear;
|
|
}
|
|
|
|
@keyframes quotefade {
|
|
0% {
|
|
opacity: 0;
|
|
}
|
|
2% {
|
|
opacity: 1;
|
|
}
|
|
12% {
|
|
opacity: 1;
|
|
}
|
|
14% {
|
|
opacity: 0;
|
|
}
|
|
100% {
|
|
opacity: 0;
|
|
}
|
|
}
|