Ask Your Question

How to put a custom image as background?

asked 2020-03-31 12:26:38 -0500

bekobarna gravatar image

updated 2020-04-01 10:16:05 -0500

aze gravatar image

I have an awesome picture, but I can't use it as a background, please help!

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2020-03-31 14:25:21 -0500

AlexThanasis gravatar image

updated 2020-03-31 14:42:17 -0500

Use "background-image" property in order to set a background image, like this:

 body {
             background-image: url("paper.gif");

Be careful where does your url points otherwise the desired background picture won't be shown

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2020-03-31 12:26:38 -0500

Seen: 476 times

Last updated: Mar 31