One possible solution is to implement a responsive design, which allows the window to be resized without encountering any specific issues. Here is an example of how you can achieve this:
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<head>
<title>Login form</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>
(CSS styles here)
</style>
</head>
<body>
<main>
<div class="conta">
<form action="" id="login-form">
(Form elements here)
</form>
</div>
</main>
<div class="bottom-links">
<small class="version">v3.0.</small>
</div>
</body>
</html>
To ensure proper placement and styling of the .bottom-links
div, I positioned it outside the main
tag with the following properties:
background: transparent
to remove the background and prevent interference with other elements;
position: fixed
to fix the element on the screen;
bottom: 10px
to position the element 10 pixels above the bottom of the page;
z-index: 10
to give the element higher priority in terms of visibility.
NOTE: Additionally, I included the property
inline-size: -webkit-fill-available
to center the
.bottom-links
elements vertically on the screen.