Why can't I use background image and color together?

前端 未结 10 2382
一生所求
一生所求 2020-12-04 07:33

What I am trying to do is to show both background-color and background-image, so that half of my div will cover the right shadow backg

10条回答
  •  一向
    一向 (楼主)
    2020-12-04 07:58

    use

    background:red url(../images/samle.jpg) no-repeat left top;
    

提交回复
热议问题