<img src="1.jpg" style="width:480px!important;”>
总结: max-width:300px transform: scale(0.625); box-sizing:border-box; padding:90px; zoom:0.625;
来个奇淫技巧
img {
animation: test 0s forwards;
}
@keyframes test {
from {
width: 300px;
}
to {
width: 300px;
}
}
利用CSS动画的样式优先级高于!important的特性