Layering images in CSS - possible to put 2 images in same element?

后端 未结 8 1060
你的背包
你的背包 2021-02-04 05:07

Supposing I\'m setting a background image for a web page in CSS like this:

body    {
font-size: 62.5%; /* Resets 1em to 10px */
font-family: Verdana, Arial, Sans         


        
8条回答
  •  忘掉有多难
    2021-02-04 05:41

    In short, it's not possible. You can do this, but you need to add a second HTML object to the page to get it to work. So for example, place a div block right below your body, and assign the second background to that object.

    Hope this helps!

提交回复
热议问题