// An highlighted block
img {
display: block;
width: 100%; //设置宽度,让height auto
height: auto;
margin-top: 2rem;
}
css img picture stretching problem handling
Guess you like
Origin blog.csdn.net/weixin_45108907/article/details/111644399
Recommended
Ranking