Template:Stonecutting/styles.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
.stonecutting-carousel { | .stonecutting-carousel { position:relative; } | ||
} | |||
.sc-frame{ | |||
position:absolute; | |||
top:0; right:0; bottom:0; left:0; /* ← replaces inset:0; */ | |||
opacity:0; | |||
animation-name:sc-cycle; | |||
animation-timing-function:steps(1); | |||
animation-iteration-count:infinite; | |||
} | } | ||
@keyframes sc-cycle{ | |||
@keyframes sc-cycle { | 0% {opacity:1;} | ||
0% { opacity: 1; } | 49.99%{opacity:1;} | ||
99% | 50% {opacity:0;} | ||
100% | 100% {opacity:0;} | ||
} | } | ||
.sc-slot{ | |||
.sc-slot { | position:absolute; | ||
position: absolute; | width:32px; | ||
width: 32px; | height:32px; | ||
height: 32px; | |||
} | } | ||
Revision as of 02:49, 14 June 2025
.stonecutting-carousel { position:relative; }
.sc-frame{
position:absolute;
top:0; right:0; bottom:0; left:0; /* ← replaces inset:0; */
opacity:0;
animation-name:sc-cycle;
animation-timing-function:steps(1);
animation-iteration-count:infinite;
}
@keyframes sc-cycle{
0% {opacity:1;}
49.99%{opacity:1;}
50% {opacity:0;}
100% {opacity:0;}
}
.sc-slot{
position:absolute;
width:32px;
height:32px;
}