uses amfe-flexible and px2rem adaptable fonts font-size: 28px; *px* the comment * px* is set as above, but the font finally appears as 24px according to the way written in the document, the ideal result would be to generate three fonts of 14p...
as shown in the figure, the width of the picture is 50% and the height is auto. The pictures are all floating. is stuck. ...
friends who have used webstorm should know that it can COPY a piece of html from a html file and then paste it in js. It can automatically generate n and + signs. Do not know that there is such a plug-in in vscode? After all, splicing HTMLs is too tr...
A global loading is not satisfied. It requires a separate loading state for each request. How can this be encapsulated to make it easy to use? I have encapsulated a http, that contains loading status. How can I automatically setState it to the component...
what all the above JS code wants to achieve is that the text text changes every 2 seconds, but after each poll of the focusText array, that is, when text changes from "EXPLORE " to "TIME ", the interval will exceed 2 seconds. Why? ...
Chestnut: stop the button being called more than once within 1 second; first, the result of my baidu btn.onclick = function add(){ btn.innerHTML = Number(btn.innerHTML) + 1; btn.onclick = null; clearTimeout(timer); var timer = se...
means that the width on the right side of the div is fixed, pull the left border, and the width shrinks from left to right div1,div2. div2div1div2 tablediv ...