41 lines
1.2 KiB
HTML
41 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Flat vs Skeuo</title>
|
|
<style>
|
|
body { font-family: system-ui, sans-serif; margin: 0; padding: 2rem; }
|
|
section { max-width: 360px; margin: 0 auto 3rem; padding: 2rem; }
|
|
form { display: flex; flex-direction: column; gap: .5rem; }
|
|
/* ===== Version 1 : Flat design ===== */
|
|
|
|
/* ===== Version 2 : Skeuomorphisme (look 2010) ===== */
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<section class="flat">
|
|
<h2>Version 1 - Flat</h2>
|
|
<form>
|
|
<label for="email1">Email</label>
|
|
<input type="email" id="email1" placeholder="prenom.nom@exemple.fr">
|
|
<label for="mdp1">Mot de passe</label>
|
|
<input type="password" id="mdp1">
|
|
<button type="submit">Se connecter</button>
|
|
</form>
|
|
</section>
|
|
<section class="skeuo">
|
|
<h2>Version 2 - Skeuomorphisme</h2>
|
|
<form>
|
|
<label for="email2">Email</label>
|
|
<input type="email" id="email2" placeholder="prenom.nom@exemple.fr">
|
|
<label for="mdp2">Mot de passe</label>
|
|
<input type="password" id="mdp2">
|
|
<button type="submit">Se connecter</button>
|
|
</form>
|
|
</section>
|
|
<!-- Analyse (Q.a, Q.b, Q.c) : -->
|
|
</body>
|
|
</html>
|