优化首页
This commit is contained in:
parent
d220b4a3c2
commit
8214de8cdf
@ -297,7 +297,7 @@
|
|||||||
height: 145px;
|
height: 145px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
opacity: 0.85;
|
opacity: 0.75;
|
||||||
transition: opacity 0.5s ease;
|
transition: opacity 0.5s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -584,7 +584,7 @@ document.querySelector('.wrapper').addEventListener('mouseleave', function() {
|
|||||||
const imageWrapper = this.querySelector('.image-wrapper');
|
const imageWrapper = this.querySelector('.image-wrapper');
|
||||||
const textContainer = this.querySelector('.guide-text-container');
|
const textContainer = this.querySelector('.guide-text-container');
|
||||||
|
|
||||||
imageWrapper.style.opacity = '0.85';
|
imageWrapper.style.opacity = '0.75';
|
||||||
textContainer.style.left = '100%';
|
textContainer.style.left = '100%';
|
||||||
textContainer.style.opacity = '0';
|
textContainer.style.opacity = '0';
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user