search

Home  >  Q&A  >  body text

javascript - How does Douban implement this adaptation?

The width and height remain unchanged when the screen size is changed. Is this the value in the design draft with 5 decimal places?
How to do it?

曾经蜡笔没有小新曾经蜡笔没有小新2737 days ago758

reply all(2)I'll reply

  • 怪我咯

    怪我咯2017-06-26 10:59:57

    You can read this article, it has similar ideas, and you can refer to it for self-adaptation:
    Think about the front-end design draft and workflow from the font-size of NetEase and Taobao

    reply
    0
  • typecho

    typecho2017-06-26 10:59:57

    This is indeed what is written in the source code. Maybe this css file is dynamically created. .

    reply
    0
  • Cancelreply