JSFiddle - React, Tailwind, and code Playground
by fguillen
HTML
<html>
<body>
<h1>Hola yo soy el título</h1>
<p>Yo soy un párrafo</p>
<div id="footer">Yo soy el footer y siempre voy abajo</div>
</body>
</html>
CSS
body {
font-family: sans-serif;
}
h1{
font-size: 20px;
}
#footer {
position: fixed;
bottom: 0px;
width: 100%;
padding: 5px;
background-color: black;
color: white;
}