figure.team-blue:hover img{
opacity: 0;
-webkit-transform: translate3d(0,0,0);
transform: translate3d(0,0,0);
}
Copyright 2014-2024 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
加translate3d(0,0,0)应该是要开启硬件加速(hack技巧),消失的生效代码应该就是
opacity: 0;
那句。Using -webkit-transform: translate3d(0,0,0); will kick the GPU into action for the CSS transitions, making them smoother (higher FPS).大概是说使用硬件加速