【发布时间】:2016-12-03 15:26:05
【问题描述】:
拥有这个 html/css 代码:
<!DOCTYPE html>
<html>
<head> <style>
img {
max-height: 100px;
overflow: auto;
}
</style>
</head>
<body>
<img src="http://www.wwwwwww.com//photos/foto.PNG" />
</body>
</html>
我们有这个结果
像这样修改css:
img {
max-height: 75px;
overflow: auto;
}
我们有这个结果
我必须做什么才能得到这个结果?:
我找到了 clip 属性,但是我使用的是 Bootstrap 轮播,我想在这个元素上实现这个必需的方法,你知道这是否可能吗?
【问题讨论】:
标签: html css twitter-bootstrap height carousel