Skip to content

Instantly share code, notes, and snippets.

@Cephra
Created July 8, 2025 17:15
Show Gist options
  • Select an option

  • Save Cephra/426c7644684733bdb4fe49eb80bc30eb to your computer and use it in GitHub Desktop.

Select an option

Save Cephra/426c7644684733bdb4fe49eb80bc30eb to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>thevea frontend task</title>
<style>
* {
box-sizing: border-box;
}
body {
margin: 0;
height: 100vh;
display: flex;
flex-direction: column;
overflow: auto;
}
header,
footer {
min-height: 60px;
height: 10%;
border: 2px solid black;
background-color: white;
}
main {
display: flex;
flex-wrap: wrap;
gap: 10px;
overflow: auto;
flex: 1 1 auto;
padding: 10px;
}
.box {
min-width: 300px;
min-height: 300px;
width: 300px;
height: 300px;
}
.blue {
background-color: blue;
}
.red {
background-color: red;
}
.green {
background-color: green;
}
</style>
</head>
<body>
<header>
This is the header section.
</header>
<main>
<div class="box blue"></div>
<div class="box red"></div>
<div class="box green"></div>
</main>
<footer>
This is the footer section.
</footer>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment