Improve banner animation performance

This commit is contained in:
syuilo 2020-02-15 17:44:26 +09:00
parent 8b8ab1bf5c
commit 24453ebcc3

View File

@ -250,6 +250,7 @@ export default Vue.extend({
background-size: cover; background-size: cover;
background-position: center; background-position: center;
box-shadow: 0 0 128px rgba(0, 0, 0, 0.5) inset; box-shadow: 0 0 128px rgba(0, 0, 0, 0.5) inset;
will-change: background-position;
} }
> .fade { > .fade {