Quejas diarias: [ ! ¡IOS no puede solucionarlo con una imagen de fondo! ! ! ¡Pruebe el error por mí hoy! ! Casi no me cabrea ]
1. código original
.box{ background:url('url'); background-size: 100% 250px; background-repeat: no-repeat; background-attachment:fixed;//就是这个啊啊啊啊啊 }
2. Después de la modificación
.img_box{ width: 100%; height: 250px; position: fixed; background-size: 100% 250px; background-repeat: no-repeat; background:url('url'); }
¡Sigo enojado! ! !