Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 HTML 和 CSS 中,我尝试了很多方法,但似乎都没有。我需要设置页面的最小宽度和高度,以便浏览器窗口的大小不能调整到某个像素范围以下。例如,窗口的大小可以调整为等于或大于 500 x 700 像素,但不能低于 500 x 700 像素。我尝试了 min-height 和 min-width 属性,但没有奏效。也许我没有正确使用它们。
多谢!