I would like to ask ui to give the Android design diagram, let the Android design map to adapt to Apple, map 1 times 2 times 3 map how to adapt according to different phones, is it using dpr? How to write it?
I would like to ask ui to give the Android design diagram, let the Android design map to adapt to Apple, map 1 times 2 times 3 map how to adapt according to different phones, is it using dpr? How to write it?
.bg-image(@url) {
background-image: url('@{url}@1x.png');
@media (-webkit-min-device-pixel-ratio: 2),(min-device-pixel-ratio: 2){
background-image: url('@{url}@2x.png');
}
@media (-webkit-min-device-pixel-ratio: 3),(min-device-pixel-ratio: 3){
background-image: url('@{url}@3x.png');
}
}
Mobile phones with twice the figure should be rare
H5 page to adapt. If the requirements are relatively high, you need to provide multiple types of media query @ media, design drawings.
according to your description, if the requirements are not so high, you directly use rem for layout to OK, a design drawing, and automatically change the width and height according to the resolution
I found a js code from the Internet to calculate the time difference effect is that we have been together xx days xx xx minutes xx seconds problem is that this time will not change only enter the web page after refreshing to keep the same value so I...
as the title, we are going to do an e-book reader on the web side, and the back end will send us content according to each chapter. our reader scrolls vertically. For example, when we are looking at Chapter 5, the user scrolls down a little bit (for ex...
waiting now, how to solve height: 54px; line-height: 54px; iPhone placeholder is normally centered vertically, while Android phone is on the upper side iPhone cursor is not normal ...
when you click manually, you can copy the specified content to the pasteboard, and add an automatic loading page on this basis, how to achieve it? < hr > <body> <input type="text" id="inputText" value="444" ...
problems with vue + vux using onchange events when using Picker components this is an example of city linkage because I want to get the province first and then the city instead of pulling the data at once, so I get the data in the change event of pi...
We need to make a Web-based reader, just like all the Web readers you use, such as turning pages left and right. however, we have a bizarre need to calculate the total length of all content, or to search. This requires the implementation of a "content...
problem description the environmental background of the problems and what methods you have tried as shown in the figure, when you pull down the body area under IOS, the background color of the Header component of fixed at the top is obscured by t...
Table: < table > < thead > < tr > < th > a < th > < th > b < th > < th > c < th > < th > d < th > < th > e < th > < tr > < thead > < tbody class= "getTableData " > < tr > < th > 1 < th > < th > 22222222222222222222222222222222222 < t...
do any friends know the regular and reliable payment platform that individuals can access? I have contacted several companies, all of which require enterprise qualifications ...
<template> <div> <canvas style="height: 500rpx;width: 500rpx;" canvas-id="myCanvas">< canvas> <image :src="imagePath" style="width: 200rpx;height: 200rpx;" > < di...
if the premise height is not set or auto,min-heigth is not suitable, there will be a blank at the bottom. .errors { width: 390px; min-height: 210px; background:white; position: fixed; top: 0; right: 0; bottom: 0; left: 1...
htmljschecked css is like this, so it should not be the problem of css. ask for advice. ...
new Date (). GetTime () this gets a 13-bit timestamp (in milliseconds) how to get a second timestamp, is it directly divided by 1000? I always thought that if I calculated this way, it would be imprecise to leave out three digits, so I asked ....
problem description iview table deployment add component Select deployment is blocked the environmental background of the problems and what methods you have tried css cannot adjust the occluded style related codes Please paste the code tex...
111$$_{preGradeName}_$$2222$$_{preGradeName}_$$3333$$_{gradeName}_$$4444$$_{shortLink}_$$5555 $$_{ }_$$ Gods, how to write this rule ...
rookie problem, ask for a favor for (var I = 0; I < 5; iPP) { setTimeout (function () {console.log (I);}, I * 1000); } know that the output of five 5s knows that this fast is caused by the event queue and scope, but the results are different when us...