.bg{
background: url(../img/icons.png) no-repeat;
display: inline-block;
}
#brownhatpic{
background-position: 0 -27px;
background-size: 100%;
width: 3rem;
height: 3rem;
position: relative;
bottom: -0.3rem;
}
<div id="brownhat"><span id="brownhatpic" class="bg"></span>菜谱库</div>