我有一个1700x700的标志和导航栏高度为70。我希望自动调整大小并适应我的导航栏高度。我可以使用Photoshop将其调整为170x70,但问题是当我放大图像时图像会失去质量。
我尝试过使用img-responsive,但它没有起作用。
谢谢!
<a class="navbar-brand" href="index.php"></a>
.navbar-brand
{
position: relative;
background: url(../images/logo.png);
width: 170px;
left: 15px;
}