<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 4 年前。
标签 javascript php html css
<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 4 年前。
我有一个 HTML 页面。我想让页面 react 迟钝。当我最小化浏览器时,我需要一切都保持它的宽度、高度、位置等。我能以某种方式实现吗?
最佳答案
高度、宽度、字体大小...
使用绝对值,而不是相对值。
height: 100px;
为绝对值
height: 20%;
将是一个实际值
关于javascript - 如何使 HTML 页面无响应?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56175428/