From 5997ac22d62f5b12e999674dde00a96b4fe2fae8 Mon Sep 17 00:00:00 2001 From: Guillaume Date: Wed, 17 Jun 2026 11:18:56 +0200 Subject: [PATCH] texte boutton --- css/style.css | 6 ++++-- index.html | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/css/style.css b/css/style.css index 5abda55..22ad113 100644 --- a/css/style.css +++ b/css/style.css @@ -44,6 +44,8 @@ h2 { .styled { border: 0; + height: 50%; + width: 40%; line-height: 2.5; padding: 0 20px; font-size: 1rem; @@ -51,7 +53,7 @@ h2 { color: white; text-shadow: 1px 1px 1px black; border-radius: 10px; - background-color: tomato; + background-color: royalblue; background-image: linear-gradient( to top left, rgb(0 0 0 / 0.2), @@ -61,7 +63,7 @@ h2 { } .styled:hover { - background-color: red; + background-color: midnightblue; } .styled:active { diff --git a/index.html b/index.html index 4bfe6d8..074bd4e 100644 --- a/index.html +++ b/index.html @@ -7,8 +7,8 @@