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.
我的身体里有这个代码,
<button onclick="change();" id="button2">Click!</button>
这在我的CSS中
#button2 { width: 200px; height: 200px; }
该按钮在我的计算机上显示为 200x200,但在我的 iPhone 上显示错误。为什么是这样?我以前用过这段代码没有问题
尝试这个
#button2 { width: 200px; height: 200px; display: block; }