How do I position one image on top of another in HTML?

前端 未结 10 1476
难免孤独
难免孤独 2020-11-22 17:15

I\'m a beginner at rails programming, attempting to show many images on a page. Some images are to lay on top of others. To make it simple, say I want a blue square, with

10条回答
  •  眼角桃花
    2020-11-22 17:21

    The easy way to do it is to use background-image then just put an in that element.

    The other way to do is using css layers. There is a ton a resources available to help you with this, just search for css layers.

提交回复
热议问题