From 918879e238c985b84c4102b8d8d40e996786c899 Mon Sep 17 00:00:00 2001 From: MOHAMED MEHIAOUI <mohamed.mehiaoui8@etu.univ-lorraine.fr> Date: Mon, 17 Mar 2025 20:51:56 +0100 Subject: [PATCH] ecriture du css --- MEHIAOUI/app.css | 43 ++++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/MEHIAOUI/app.css b/MEHIAOUI/app.css index d336039..2be4054 100644 --- a/MEHIAOUI/app.css +++ b/MEHIAOUI/app.css @@ -53,30 +53,31 @@ body{ justify-content: center; align-items: center; - .centre{ - border: none; - width: 100%; - padding: 40px; - font-size: 20px; - font-weight: bold; - color: cadetblue; + .projetAndOriginal { + display: flex; + justify-content: center; + align-items: flex-start; + gap: 20px; /* Espacement entre les deux éléments */ + margin-top: 20px; + } + + .scene, .original { + width: 50%; text-align: center; - margin-bottom: 40px; } - .projetAndOriginal{ - display: flex; - justify-content: space-around; - align-items: center; - gap: 20px; - width: 100%; - height: 100%; - .original{ - width: 50%; - height: 500px; - border: 1px solid red; - background-image: url(img.jpg); - } + + .original img { + max-width: 100%; + height: auto; + border: 2px solid black; } + + #webGL { + margin-bottom: 20px; + font-size: 1.2em; + font-weight: bold; + } + } } -- GitLab