tag to fill the screen with the image; the complete code is "
Home >WeChat Applet >Mini Program Development >How to fill the entire screen with mini program images?
#How to fill the entire screen with mini program images?
##Cover the screen, mainly using the mode='widthFix' attribute in the
<image src="/images/1.jpg" class='in-image' mode='widthFix'> </image>and changes to .wxss:
page{ height:100% } .imagesize{ display:flex; height: 100%; justify-content: center; align-items:center; }
Demo:
WeChat Mini Program"
The above is the detailed content of How to fill the entire screen with mini program images?. For more information, please follow other related articles on the PHP Chinese website!