Can I use an image from my local file system as background in HTML?

后端 未结 5 1893
粉色の甜心
粉色の甜心 2020-12-05 09:12

I\'ve got an HTML document hosted on a remote web server. I\'m trying to have one of the elements on the web page use an image file from my local file system as its backgrou

5条回答
  •  心在旅途
    2020-12-05 09:58

    background: url(../images/backgroundImage.jpg) no-repeat center center fixed;
    

    this should help

提交回复
热议问题