答案 0 :(得分:0)
如果您使用bootstrap
,请尝试此操作 <img src="http://i.stack.imgur.com/v4BWm.png" alt="img" class="img-thumbnail img-responsive">
答案 1 :(得分:0)
HTML
<img src="http://i.stack.imgur.com/v4BWm.png" class="ImgOuter" >
CSS
.ImgOuter
{
padding:10px;
background-color:#d1e0e0;
border-radius:2%;
width:100%;
height:auto;
}