Insert image in the background of the site

1

Hello! I'm new to programming, and I'm currently studying WEB DESIGN AND INTERFACE. I would like to know how I insert an image as a background in the site, so that the "body" of the site (texts, links ...) is superimposed over it. Type as a "watermark" ... And what tags or commands can I use to make the image STATIC or ROLLING together with the page.

    
asked by anonymous 26.05.2018 / 02:14

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;
}

In this way the image is at the bottom of the whole site, ie it is fixed and with the total size of the screen and without repetition

    
26.05.2018 / 16:27