I used jquery.lazyload to implement lazy loading, but there were some problems.

problem description

the main reason is that in order to control the size of the placeholder, I added the class name to the img tag and deleted the class name after the picture was loaded, but there was a position: absolute location in the class name. After deletion, I don"t know why the inline style style= "display: inline," of the picture has become a big hand of style= display: block,.

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Sep.26,2021
Menu