Browser doesn't scale below 400px?

后端 未结 17 1464
天命终不由人
天命终不由人 2020-12-04 06:01

I\'m working on putting together a liquid style-sheet and it works wonderful. One thing that I\'ve noticed is that my browser window in Chrome won\'t resize below 400px it j

17条回答
  •  天涯浪人
    2020-12-04 06:53

    In case you want to reduce your screen width to emulate different devices (and why else would you want to do this?):

    Chrome now has an Emulation section in its inspector, activated by clicking the little phone icon in the top menubar (between the magnifying glass and Elements):

    Chrome Emulation icon

    Emulation mode allows you to set the viewport size to all common mobile screen sizes, among other nice features, like emulating touch, geolocation and even accelerometer input:

    enter image description here

提交回复
热议问题