文章详情页
html - css hover下元素消失为何加translate3d(0,0,0)
浏览:101日期:2023-06-15 17:05:41
问题描述
figure.team-blue:hover img{ opacity: 0; -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0);}
问题解答
回答1:加translate3d(0,0,0)应该是要开启硬件加速(hack技巧),消失的生效代码应该就是opacity: 0;那句。
回答2:Using -webkit-transform: translate3d(0,0,0); will kick the GPU into action for the CSS transitions, making them smoother (higher FPS).大概是说使用硬件加速
标签:
HTML
相关文章:
1. jquery - Ajax请求,返回200状态码,但收到数据包为空值2. python - TypeError: tryMsgcode() takes exactly 2 arguments (0 given)3. Mongodb web连接28017后,提示登录的用户名密码在 db那里预设置4. Python 3.5,斐波数列, a,b = 0,15. linux - nginx出现recv() failed (104: Connection reset by peer)6. 爬虫图片 - 请教各位:python爬虫编码问题,版本3.6,win10 64位下?7. android-studio - Win10下修改Windows用户文件夹名user,导致Android Studio报错无法使用8. github - 求助大神啊,win10 git clone error,折腾了几天都不行,以前原本好好的,突然就这样了9. python - flask+ajax post 400错误10. web - nginx高并发是替换静态文件可能会引起404或其他错误吗?
排行榜
