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.
在开发移动应用程序时,我设置了“width=device-width”。但是,这会导致在普通计算机中查看时图像被放大以填满屏幕。当然它应该是它应该做的,但是是否有可能使图像最多看起来与其原始尺寸一样大而不再有更多?
使用 css:
max-width: "somethingpx";