made a fixed footer

This commit is contained in:
reynierm
2026-06-17 11:36:57 +02:00
parent 5997ac22d6
commit d686ab789d
2 changed files with 10 additions and 4 deletions
+5 -1
View File
@@ -31,9 +31,13 @@ h1 {
background-color: steelblue;
font-size: 40px;
}
h2 {
.footer {
text-align: center;
background-color: cadetblue;
font-size: 25px;
position: fixed;
bottom: 0;
width: 100%;
}
#nav_barre {
display: flex;
+5 -3
View File
@@ -47,8 +47,10 @@
src="https://mngt.fr/wp-content/uploads/2024/05/Voitures-de-legende-Le-classement-ultime-des-10-plus-rapides-du-Mond.jpg"
/>
</div>
<h2>
<p>stagiaires rpz echoes</p>
</h2>
<footer class="footer">
stagiaires rpz echoes
</footer>
</body>
</html>