Insert image at the bottom of the site

Asked

Viewed 479 times

0

Hello! I am new to programming, and at the moment I am studying WEB DESIGN AND INTERFACE. I would like to know how to insert an image as background on the site, so that the "body" of the site (texts, links...) is superimposed on it. Like a "watermark"... And what tags or commands can I use to make the image STATIC or SCROLL along with the page.

1 answer

0

Just do it like this in css:

body{
  background-image: url('../img/fundo.jpg');/*Aqui você coloca o link da sua imagem*/
  background-size: 100% 100%;
  background-repeat: no-repeat;
  backgrpund-position: center;
}

This way the image is in the background of the entire site, that is, it is fixed and with the total screen size and no repetition

Browser other questions tagged

You are not signed in. Login or sign up in order to post.