.qr-code:hover { transform: scale(1.5); // 放大1.5倍 transition: all .3s; // 设置加载时间 } 关注公众号【程序员每日一学】让我们每天一起进步~