Adding a background image to a
element

后端 未结 9 944
无人及你
无人及你 2020-11-28 04:09

Is it possible to make a

element contain a background image, and if so, how would I go about doing this?

9条回答
  •  南方客
    南方客 (楼主)
    2020-11-28 04:37

    For the most part, the method is the same as setting the whole body

    .divi{
        background-image: url('path');
    }
    
    
    
    

提交回复
热议问题