Smoothing rotation of album #626
Keep the composited layer created by the browser during the animation. Makes the border of the transformed thumb look better.
This commit is contained in:
parent
e1e3f31839
commit
b360d23661
@ -85,6 +85,10 @@
|
||||
&:hover img:nth-child(1),
|
||||
&:hover img:nth-child(2) {
|
||||
opacity: 1;
|
||||
// Keep the composited layer created by the browser during the animation.
|
||||
// Makes the border of the transformed thumb look better.
|
||||
// See https://github.com/electerious/Lychee/pull/626 for more.
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
&:hover img:nth-child(1) {
|
||||
|
Loading…
Reference in New Issue
Block a user