Finally completed the project at hand, and the missing person is back! During the process of doing a project, I encountered many points worth thinking about, so I can go quickly. The first thing I encountered was the problem of adapting to web page size.
Currently, the most commonly used methods are:• First, the page size should be filled with the screen without overflowing. You only need to add a viewport (as follows) in the html<head> tag. The parameters respectively indicate: page width = screen width, the maximum and minimum scaling ratios are 1, and the user is not allowed to shrink.
XML/HTML Code Copy content to clipboard