-2
Hello! I’m trying to leave a div next to the rodape. I am using display:flex and with this I can not use percentage. Can someone enlighten me on how to solve this somehow...
<style>
*{
padding:0;
margin:0;
}
html {
height: 100%;
min-height: 100%;
}
body {
display: flex;
flex-direction: column;
min-height: 100%;
}
#quadro{
margin-left:5px;
margin-top:5px;
width:auto;
height: 100px;
margin-bottom:5px;
border:1px solid black;
}
footer {
margin-top: auto;
width:100%;
height:5px;
background:black;
}
</style>
<body>
<html>
<div id="quadro">
</div>
<footer>
</footer>
</html>
</body>