JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://e-timer.ru/js/etimer.js"></script>
<div class="wrapper">
<header class="header">
верх сайта.
</header>
<main class="content">
Тут контент, центр.
</main>
</div>
<footer class="footer">
низ, который прижать всегда к низу сайта.
</footer >
CSS
*{
padding: 0;
margin: 0;
}
html{height:100%;}
* html body{height:100%;}
html, body{
font-family: tahoma, Helvetica, sans-serif;
font-size: 14px;
height: 100%;
background: #fff;
}
.wrapper {
width: 100%;
min-width: 1100px;
min-height: 100%;
height: auto !important;
height: 100%;
background: #ddd;
}
.header {
width: 100%;
height: 150px;
background: #ccc;
}
.content {
padding: 0 0 150px;
}
.footer {
margin: -100px auto 0;
min-width: 1100px;
height: 100px;
position: relative;
background: #000;
color:#fff;
}