4
That’s just a page, what happens is that the white part is a <div>
is over another <div>
, this is done in CSS with the function z-index
, example:
HTML
<div id="imagem"></div>
<div id="bg_branco"></div>
CSS
#imagem {
width: 100%;
height: 100%;
top: 0px;
left: 0px;
position: absolute;
background-image: url(http://www.onordeste.com/administrador/personalidades/imagemPersonalidade/34d6911fdfdc4097a974a4b612313f70923.JPG);
z-index: 1;
}
#bg_branco {
width: 100%;
height: 50%;
top: 70%;
left: 0px;
background-color: #FFF;
position: absolute;
z-index: 2;
}
Usually this is a single page, with different sections. You can even simulate this by loading pieces with JS, or using includes, who knows even
iframe
, but in the end it turns all one page (and it is essential to understand as one thing only to be able to design the style sheet responsible for the transition).– Bacco