사용자:Hsl0/common.css: 두 판 사이의 차이
< 사용자:Hsl0
편집 요약 없음 |
편집 요약 없음 |
||
24번째 줄: | 24번째 줄: | ||
-webkit-background-clip: text; | -webkit-background-clip: text; | ||
-moz-background-clip: text; | -moz-background-clip: text; | ||
color: transparent; | |||
animation: 2s linear 0s infinite running link-wait; | animation: 2s linear 0s infinite running link-wait; | ||
} | } |
2023년 10월 25일 (수) 02:57 판
/* linktools.css */
@keyframes link-wait {
from {
background-position-x: 200%;
}
to {
background-position-x: 0%;
}
}
.link-modifier-cloak,
.event-listener-cloak[data-target="link"],
.event-handler-cloak[data-target="link"] {
background-image: linear-gradient(
135deg,
#cccccc,
#cccccc,
#4d4d4d,
#4d4d4d,
#cccccc,
#cccccc
);
background-size: 200% auto;
background-clip: text;
-webkit-background-clip: text;
-moz-background-clip: text;
color: transparent;
animation: 2s linear 0s infinite running link-wait;
}
.link-modifier-cloak a,
.event-listener-cloak[data-target="link"] a,
.event-handler-cloak[data-target="link"] a {
pointer-events: none;
color: inherit;
}
@media (prefers-reduced-motion: reduce) {
.link-modifier-cloak,
.event-listener-cloak[data-target="link"],
.event-handler-cloak[data-target="link"] {
animation: 4s linear 0s infinite running link-wait !important;
}
}