Browser doesn't scale below 400px?

后端 未结 17 1423
天命终不由人
天命终不由人 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:57

    Chrome cannot resize horizontally below 400px (OS X) or 218px (Windows) but I have a really simple solution to the problem:

    1. Dock the web inspector to the right instead of to the bottom
    2. Resize the inspector panel - you can now make the browser area really small (down to 0px)

    Update: Chrome now allows you to arrange the inspector windows vertically when docked to the right! This really improves the layout.

    vertical panel layout setting

    The HTML and CSS panels fit really well and you even open a small console panel too. This has allowed me to completely move from Firefox/Firebug to Chrome.

    Inspector docked to right with vertical panel layout

    If you want to go a step further look at the web inspector settings (cog icon, bottom-right), and goto the user agent tab. You can set the screen resolution to whatever you like here and even quickly toggle between portrait and landscape.

    Device resolution settings

    UPDATE: Here is another really cool tool I've come across. http://lab.maltewassermann.com/viewport-resizer/

提交回复
热议问题