Want to improve this question? Add details and clarify the problem by editing this post.
Closed 10 years ago.
要使图像适合所有宽度,请在 CSS 中使用 width: 100%;。正如评论所暗示的,通过询问 SO,您将会从互联网上复制,所以如果您真的不想这样做,请不要阅读我的答案=P
width: 100%;
To get images to fit all widths, use width: 100%; in your css. As the comments suggest, by asking SO you will be copying from the internet, so if you really don't want to do that, don't read my answer =P
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(1)
要使图像适合所有宽度,请在 CSS 中使用
width: 100%;
。正如评论所暗示的,通过询问 SO,您将会从互联网上复制,所以如果您真的不想这样做,请不要阅读我的答案=PTo get images to fit all widths, use
width: 100%;
in your css. As the comments suggest, by asking SO you will be copying from the internet, so if you really don't want to do that, don't read my answer =P