Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover">
- <title>Document</title>
- <style>
- footer{
- position: fixed;
- left: 0;
- bottom: 0;
- width: 100%;
- height: 80px;
- background-color: blue;
- margin-bottom: env(safe-area-inset-bottom);
- }
- .stretch{
- height: 2000px;
- }
- </style>
- </head>
- <body>
- <div class="stretch"></div>
- <footer></footer>
- </body>
- </html>
Add Comment
Please, Sign In to add comment