So I created this flexbox, how can I place it in the bottom of the page? I tried with margin-top but it's relative to the element above i so I does not work for me; margin-bottom does not work with flexboxes seems. I want something that places the flexbox on the bottom no matter what more elements I add and not having to scroll to see it.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.footer{
display: flex;
flex-direction: row;
flex: 1;
justify-content: center;
align-items: flex-end;
height: 50px;
background-color:rgb(0, 234, 255);
}
.footer div{
padding-inline: 25px;
}
/* TEXTOS */
.foot_txt{
text-align: center;
line-height: 50px;
font-size: 15px;
}
.foot_txt a{
text-decoration: none;
}
.foot_rs div{
font-size: 15px;
}
/* IMAGENES DEL FOOTER */
.foot_rs img{
width: 30px;
margin: auto;
display: block;
}
</style>
</head>
<body>
<div class="footer">
<div class="foot_txt">
<a href="contacto.html" target="_blanck">Contacto</a>
</div>
<div class="foot_rs">
<a href="https://www.facebook.com/" target="_blanck"><img class="iconredes" src="icon/iconofacebook.png" /></a>
<div class=>
Facebook
</div>
</div>
<div class="foot_rs">
<a href="https://www.instagram.com/" target="_blanck"><img class="iconredes" src="icon/iconoinstagram.png" /></a>
<div class=>
Instagram
</div>
</div>
<div class="foot_rs">
<a href="https://twitter.com/" target="_blanck"><img class="iconredes" src="icon/iconotwitter.png" /></a>
<div class=>
Twitter
</div>
</div>
<div class="foot_txt">
<a href="quienessomos.html" target="_blanck">Quiénes somos</a>
</div>
</div>
</body>
</html>