75 lines
2.3 KiB
HTML
75 lines
2.3 KiB
HTML
<!doctype html>
|
|
<html lang="fr">
|
|
<head>
|
|
<title>Flexbox blocs</title>
|
|
<meta charset="UTF-8" />
|
|
<link rel="stylesheet" href="/static/style.css" />
|
|
<script src="/static/js/utils.js" defer></script>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<div class="links">
|
|
<a href="/" class="header_button">Home Page</a>
|
|
<a href="/projects.html" class="header_button">Projets</a>
|
|
<a href="/about.html" class="header_button">About me</a>
|
|
<a href="/quizz" class="header_button">Vibe check</a>
|
|
<a href="https://djalim.fr" class="header_button">Blog Perso</a>
|
|
</div>
|
|
<button
|
|
id="display_header_links"
|
|
onclick="toggle_all_header_links()"
|
|
>
|
|
▼
|
|
</button>
|
|
</header>
|
|
|
|
<main>
|
|
<div
|
|
style="
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 40vh;
|
|
width: 60vw;
|
|
gap: 10px;
|
|
"
|
|
>
|
|
<div
|
|
class="blue"
|
|
style="background-color: #00b0f0; flex: 1"
|
|
></div>
|
|
<div
|
|
class="red-green"
|
|
style="
|
|
flex: 2;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
"
|
|
>
|
|
<div
|
|
class="red"
|
|
style="background-color: #ff0000; flex: 1"
|
|
></div>
|
|
<div
|
|
class="green"
|
|
style="background-color: #00b050; flex: 2"
|
|
></div>
|
|
</div>
|
|
<div
|
|
class="yellow"
|
|
style="background-color: #ffff00; flex: 1"
|
|
></div>
|
|
</div>
|
|
</main>
|
|
|
|
<footer>
|
|
<p>
|
|
Fait par Djalim Simaila et sa haine de l'HTML, CSS, mais pas du
|
|
JavaScript ♥️
|
|
</p>
|
|
<p>©2025</p>
|
|
</footer>
|
|
</body>
|
|
</html>
|