Hello everyone i need some help…
I want to make exact the same website like this one: http://creativemuse.pw/demo/portfolio/#services
but my problem is the div positioning…
I can’t get that red div (the one with his information) in the big photo div… where says: Welcome to my site.
i get a whole other div above the picture div…
this is my html code…:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>JuulHazenberg</title>
<link rel="stylesheet" href="css/style.css"/>
</head>
<body>
<nav></nav>
<div id="one"></div>
<div class="sect sectOne"></div>
<div class="sect sectTwo"></div>
</body>
</html>
**
And this CSS Code:
**
*{
margin:0;
}
html, body{
height: 100%;
}
h1, h2, h3, h4, h5, h6, p {
margin-bottom: 20px;
}
nav{
position: fixed;
width: 100%;
height: 70px;
background-color: white;
}
.sect{
height: 100%;
background-size: cover;
}
#one{
height: 80%;
width: 100px;
background-color: red;
}
.sectOne{
background-image: url("../images/IMG_0568.JPG");
}
.sectTwo{
background-color: rgba(11, 34, 45, 0.79);
}
Please help me…