From 268fce7b70ba5577d79e5bdfcb9516279186d630 Mon Sep 17 00:00:00 2001 From: eddah chepkoech Date: Fri, 14 Jun 2024 00:38:03 +0300 Subject: [PATCH 1/2] styling html page --- index.html | 1 + style.css | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/index.html b/index.html index 8a618dd71..651f8027a 100644 --- a/index.html +++ b/index.html @@ -4,6 +4,7 @@ Exceptional Realty Group - Luxury Homes - About +
diff --git a/style.css b/style.css index 1b1899382..f302a9352 100644 --- a/style.css +++ b/style.css @@ -3,3 +3,38 @@ body { height: 100%; margin: 0; } +h1{ + text-align: center; +} +img{ + display: block; + margin: auto; +} +nav{ + text-align: center; +} +nav a{ + padding:0 10px; + background-color: grey; + +} +figcaption{ + text-align: center; + font-size: small; +} +#featured-property p{ + /* display: block; */ + width: 800px; + margin: auto; + margin-bottom: 10px; + text-align: center; + +} +#details div{ + float:left; + background-color: grey; + text-align: center; + width: 25%; + +} + From f2117a73b7ba6e5847498e3e8a7174721bf448ba Mon Sep 17 00:00:00 2001 From: eddah chepkoech Date: Fri, 14 Jun 2024 10:09:02 +0300 Subject: [PATCH 2/2] fundermental css --- style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style.css b/style.css index f302a9352..e4884c348 100644 --- a/style.css +++ b/style.css @@ -32,7 +32,7 @@ figcaption{ } #details div{ float:left; - background-color: grey; + background-color: rgb(124, 105, 105); text-align: center; width: 25%;