Browser doesn't scale below 400px?

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

    nayan9's solution works great, and can be put into a bookmark without having to create a html file. In Chrome, create a new bookmark with URL:

    javascript:(function(){window.open('ANY_URL', '','width=320,height=480');})();
    

    And give it a name of "Open Small Window" or something similar. This will allow you to easily open windows without size restrictions within chrome. Note that just copying this into your address bar won't work - chrome strips the "javascript:" out.

提交回复
热议问题