fix: use pixel values for diagonal AC background scroll
Percentage-based background-position translates to unequal pixel offsets (268px X vs 768px Y on a 1280x768 viewport), making the movement appear mostly vertical. Equal pixel values (1012px, 1012px) give a true 45-degree diagonal. X loops seamlessly at the tile width boundary. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1834,10 +1834,10 @@ html[data-theme="dark"][data-design-theme="animal-crossing"] .beian a:hover {
|
|||||||
|
|
||||||
@keyframes ac-bg-scroll {
|
@keyframes ac-bg-scroll {
|
||||||
0% {
|
0% {
|
||||||
background-position: 100% 0%;
|
background-position: 0px 0px;
|
||||||
}
|
}
|
||||||
100% {
|
100% {
|
||||||
background-position: 0% 100%;
|
background-position: 1012px 1012px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user