加设计师给的尺寸宽是640px的,手机切图怎么切的?先转成320px对着iPhone5切还是说,先按320的切,但是图片背景放的时候放640px的,再用background-size或者设置img的max-width这样呢?
ringa_lee2017-04-17 13:46:28
Just press 320 to cut, 320 is the actual pixel, and 640 is the pixel processed by the mobile phone.
http://www.w3cplus.com/css/A-...
PHP中文网2017-04-17 13:46:28
Considering the current retina screen, it is generally better to press 640 for cutting. If you press 320 for cutting, it will be blurry on the retina screen. Press 640 for cutting, and then use background-size
to control it
PHPz2017-04-17 13:46:28
Cut according to 640. In order to adapt to the retina screen on the mobile phone, it is actually best to cut the picture three times to ensure that the picture is displayed clearly