CSS - How I do this effect in the div of this site

Asked

Viewed 506 times

-3

Galley,

In the link below, the top of the site, that is, the header that is the background photo along with the menu, they occupy the whole screen of the browser, indifernete de ser pc, tablet ou smartphone, how do I apply this effect?

https://www.templatemonster.com/pt-br/demo/61143.html

  • your doubt is not clear enough, can improve it?

  • adjusted @Rafaelacioly

  • Since your question does not directly cover an excerpt of code, but how to do it, start by reading documentation of the API used on the site. Try to reproduce the effect you want and, if you can’t, come back here with your code.

  • Play this effect with pure css or bootstrap?

  • 1

    Describe in the question in detail the effect, so that it is clear what you want without having to open the external link and try to guess. This would greatly increase the chance of an adequate response, or even the indication of an existing response with the solution.

  • 1

    If the doubt is only the image in "full screen", already has the solution here: Put a background image and make it responsive

Show 1 more comment

2 answers

0

Create a <div>, for example <div class="barra-topo"> with the content: background, buttons, fields, etc. No CSS background use widht: 100%; so that the background fills the entire screen extension.

You will have to create the viewports to change according to the device. Note that the bar model is the same, but the content changes. Search by CSS media queries.

inserir a descrição da imagem aquiinserir a descrição da imagem aqui

  • Not only in length, but in height too! understands me?

-2


Browser other questions tagged

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