I am making a web page, in this case the layout
, and I have a problem with the CSS
since this generates a small blank space between the background ("wallpaper") and the footer
. The code is as follows:
* {
margin: 0;
padding: 0;
font-family: sans-serif;
}
a {
text-decoration: none;
color: inherit;
}
.header {
width: 100%;
height: 60px;
background-color: #333;
display: flex;
align-items: center;
color: #FFFFFF;
}
.logo {
height: 40px;
width: 200px;
padding: 0px 50px 0px 50px;
fill: #000;
}
.input_query {
flex-basis: 25%;
height: 18px;
border: 1px solid #282828;
border-radius: 3px;
padding: 5px;
}
.log_in {
margin-left: auto;
color: #DCDCDC;
}
.log_in_btn {
background-color: #3F3F3F;
margin: 0px 50px 0px 0px;
padding: 5px;
border: 1px solid #282828;
border-radius: 2px;
}
.wallpaper {
width: 100%;
height: 100%;
}
footer {
width: 100%;
height: 100px;
background-color: #333;
}
<body>
<header class="header">
<a href=""><img class="logo" src="assets/images/logo-web.png"></a>
<input class="input_query" placeholder="Search...">
<section class="log_in">
<a href="" class="log_in_btn">Sing in</a>
<a href="" class="log_in_btn">Create an account</a>
</section>
</header>
<img src="assets/images/wallpaper.png" class="wallpaper">
<footer>Footer</footer>
</body>