#logo {
background: url(/images/logo.png) 0 0 no-repeat;
width: 268px;
height: 96px;
position: fixed;
top: 10px;
left: 10px;
z-index: 1000;
}
这是我的标志 css,当我将高度和宽度更改为 x% 时,它只是切割了我的标志图像的底部和右侧。如何设置我的徽标样式,使其在保持纵横比的同时保持浏览器宽度的 5%?谢谢