css 图片缩放
.img-message{
z-index: 1;
position: absolute;
width:290px;
height:170px;
max-width:100%;
max-height:100%;
}
css 设置宽高,在设置 max-width、max-height即可是图片按要求缩放
你尚未登录,无法进行回复。
.img-message{
z-index: 1;
position: absolute;
width:290px;
height:170px;
max-width:100%;
max-height:100%;
}
css 设置宽高,在设置 max-width、max-height即可是图片按要求缩放
你尚未登录,无法进行回复。