From d126880707e4a84248dd55d160415f9cab52a8ce Mon Sep 17 00:00:00 2001 From: blake Date: Sat, 6 Sep 2025 23:15:14 -0500 Subject: [PATCH] Changed header html and added hover effect to service cards --- .vscode/settings.json | 3 +++ css/style.css | 16 ++++++++++------ index.html | 42 ++++++++++++++++++++++-------------------- 3 files changed, 35 insertions(+), 26 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..6b665aa --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "liveServer.settings.port": 5501 +} diff --git a/css/style.css b/css/style.css index 22bf2d9..14928c3 100644 --- a/css/style.css +++ b/css/style.css @@ -60,12 +60,6 @@ body { font-size: 2rem; } -header { - height: 100vh; - background-image: url("/img/hero.svg"); - background-size: cover; -} - nav { top: 0; left: 0; @@ -126,6 +120,7 @@ h3 { transition: all 0.3s; color: #fff; width: fit-content; + cursor: pointer; } .btn:hover, @@ -146,6 +141,9 @@ h3 { .hero-section { margin-bottom: 30rem; + height: 100vh; + background-image: url("/img/hero.svg"); + background-size: cover; } .hero { @@ -197,6 +195,12 @@ h3 { border-radius: 20px; padding: 5rem; justify-content: center; + transition: all 0.3s; +} + +.service-card:hover { + transform: scale(1.1); + box-shadow: 0 1rem 1rem 0 #2d54c7; } .service-card-header { diff --git a/index.html b/index.html index cada5c9..1cfb242 100644 --- a/index.html +++ b/index.html @@ -16,27 +16,29 @@ Cosmically Creative -
- -
-

Trusted Web Development, Powered by Cosmic Creativity

-

- At Cosmically Creative, I fuse creativity and custom code to craft - websites that shine. Let me elevate your online presence and bring - your vision to life, one cosmic creation at a time! -

- Initiate Launch 🚀 +
+ +
+
+
+

Trusted Web Development, Powered by Cosmic Creativity

+

+ At Cosmically Creative, I fuse creativity and custom code to craft + websites that shine. Let me elevate your online presence and bring + your vision to life, one cosmic creation at a time! +

+ Initiate Launch 🚀 +
+
+
star