Websites with continuous background

0

wanted to inform me how to make a page with Bootstrap for example but with a continuous background (As the examples I put below but extending the background as the docker page: link ).

I would greatly appreciate your help, greetings.

Ej1: link

Ej2: link

    
asked by fatpinkcap 30.10.2018 в 20:20
source

1 answer

0

You can create a div in your html that contains the objects to which you are going to put background

<div class="fondo">
     <!-- Código html -->
</div>

Then, you must create the image in SVG (Scalable Vector Graphics) format, save it in a folder of your project (your_project / images / background.svg) and then invoke it from bootstrap.css or from your file CSS like this:

.fondo {
    background: url(../images/background.svg) top no-repeat;
    background-size: cover;
}
    
answered by 30.10.2018 / 20:40
source