How to display a repeated image stored in database on background as on Twitter?

前端 未结 2 1972
北海茫月
北海茫月 2021-01-29 09:56

I want to display an image on background (by using CSS repeat) the same way as on Twitter but the problem is that I am retrieving it from a MySQL database and CSS cannot handle

2条回答
  •  清酒与你
    2021-01-29 10:11

    You cannot repeat so for that you need to use CSS in your PHP document, you can do it like

    
    

    Either you can do is

    Make a stylesheet with a .php extension.

    Than

    At the top of the page mention this

    
    

    Now you can set variables accordingly

    
    

提交回复
热议问题