<li class="branda">
<img src="[path]" alt="">
</li>
.branda {
width: 380px;
height: 120px;
display: flex;
justify-content: center;
align-items: center;
}
让图片位于div的中间,上面这种可以,以后还有别的我在更新...
<li class="branda">
<img src="[path]" alt="">
</li>
.branda {
width: 380px;
height: 120px;
display: flex;
justify-content: center;
align-items: center;
}
让图片位于div的中间,上面这种可以,以后还有别的我在更新...