make image( not background img) in div repeat?

前端 未结 4 787
我寻月下人不归
我寻月下人不归 2021-02-19 02:03

I\'m trying to repeat-y an image that\'s in a div and no background image but haven\'t figured how. Could you please point me to a solution?

My code looks like this:

4条回答
  •  一个人的身影
    2021-02-19 02:46

    (DEMO)
    Codes:

    .backimage {width:99%;  height:98%;  position:absolute;    background:transparent url("http://upload.wikimedia.org/wikipedia/commons/4/41/Brickwall_texture.jpg") repeat scroll 0% 0%;  }
    

    and

    YOUR OTHER CONTENTTT

提交回复
热议问题