JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<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>Login PAGE</title>
</head>
<body>
<div id="wrapper">
<header>
<h1>LOREM IPSUM WORKSTATION V.1</h1>
</header>
<div id="mehrspaltig">
<nav>NAV</nav>
<article>
<div id="flex">
<img id="logo" src="https://i.ibb.co/3SZ1R5h/loremipsum.png" alt="Logo">
<div class="login_formular">
Zur Anmeldung
<input type="text" placeholder="Username" id="username">
<input type="password" placeholder="Password" id="password">
<button id="button"> <a href="#">Log IN</a></button>
</div>
</div>
</article>
<aside>ASIDE</aside>
</div>
<footer>FOOTER</footer>
</div>
</body>
</html>
CSS
html,
body {
height: 100%;
width: 100%;
padding: 0;
margin: 0;
}
a {
text-decoration: none;
color: rgb(0, 0, 0);
}
#wrapper {
display: flex;
flex-direction: column;
height: 100%;
min-height: 100%;
}
header {
overflow: hidden;
max-height: 0;
font-family: 'Bebas Neue', cursive;
font-size: 30px;
padding-bottom: 35px;
margin: auto;
}
#mehrspaltig {
flex: 1;
display: flex;
flex-direction: row;
background-color: silver;
}
#flex {
display: flex;
flex-direction: row;
flex-wrap: wrap;
width: 50%;
align-items: center;
justify-content: center;
margin: auto;
}
#logo {
margin: auto;
min-height: 250px;
max-height: 250px;
max-width: 250px;
min-width: 250px;
}
.login_formular {
margin: auto;
padding: 16px;
border-radius: 5px;
min-height: 150px;
max-height: 150px;
min-width: 250px;
max-width: 250px;
text-align: center;
display: flex;
flex-direction: column;
background-color: rgba(255, 255, 255, 0.2);
box-shadow: 0px 0px 20px 5px #ff6565;
}
input {
margin-top: 5px;
background: transparent;
padding: 2px 0 2px 50px;
outline: none;
border-radius: 5px;
border: solid 1px;
}
input:hover,
input:focus {
box-shadow: 0px 0px 20px 5px #ff6565;
}
#button {
min-width: 75px;
border: solid 1px;
border-radius: 5px;
cursor: pointer;
text-decoration: none;
border: transparent;
margin: auto;
justify-content: center;
display: block;
margin-top: 15px;
background-color: rgb(255, 205, 113);
font-family: 'Bebas Neue';
}
#button:hover {
transform: scale(1.05);
box-shadow: 0px 0px 20px 5px #ff6565;
}
nav {
flex: 1;
background-color: darkgray;
}
article {
flex: 5;
background-color: orange;
}
aside {
flex: 1;
background-color: gray;
}
footer {
background-color: limegreen;
}