-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
img展示是否支持自动裁剪? #37
Comments
像第一张这样展示就很不友好,不知道有无什么好的解决方案? |
现在是宽度100%,高度自适应的方案,第一张图原图是怎样的? |
嗯,第一张是宽750*2000的,要是让前端做裁剪也不现实,除非服务端支持。咱们其实可以用background-image来实现,要比img友好些 |
哈哈,那你可以改一下样式 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
当图片是一张大长图,是否会截取中间一部分? 还是根据图片宽100%,高自适应?? 感谢回答
The text was updated successfully, but these errors were encountered: