Responsive Design

后端 未结 4 375
抹茶落季
抹茶落季 2021-01-03 02:28

Do we have standard sizes for responsive design. Generally I thought it would be a size for mobile, tablet, iPad, laptop, desktop. But now I\'m getting into so many problems

4条回答
  •  臣服心动
    2021-01-03 02:51

    There's no real standard sizes for responsive design. The best method is to design for your content, not for devices. And design mobile-first.

    By mobile-first, the default CSS will automatically target smaller screens, and from there build up what you need for progressively larger screens.

    And development wise, use @min-width(insert px) to build your stylesheet up in a mobile-first way.

提交回复
热议问题