search

Home  >  Q&A  >  body text

html5 - 手机端切图该怎么切的?

加设计师给的尺寸宽是640px的,手机切图怎么切的?先转成320px对着iPhone5切还是说,先按320的切,但是图片背景放的时候放640px的,再用background-size或者设置img的max-width这样呢?

怪我咯怪我咯2784 days ago929

reply all(5)I'll reply

  • 黄舟

    黄舟2017-04-17 13:46:28

    http://www.cnblogs.com/beiz/p...

    reply
    0
  • ringa_lee

    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-...

    reply
    0
  • PHP中文网

    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

    reply
    0
  • PHPz

    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

    reply
    0
  • 迷茫

    迷茫2017-04-17 13:46:28

    What you need is a responsive layout.

    reply
    0
  • Cancelreply