为什么在此视频中浏览器上移动的框和图像会调整大小?
这是我的代码:
style="width: 98pt; position: fixed; left: 112pt; bottom: 175pt"
它的设计很灵活。
如果你想了解更多,我推荐这本书:
Because they are attached to the bottom of its container (the body tag maybe?)
Use "top:###pt" instead of "bottom: 175pt".
I think it would be better to specify its height instead.
<body>
<div style="position:fixed; top: 50px; left: 50px; width: 100px; height: 100px;">content</div>
</body>