From b439859ca7213a7b356b81dcf7384d2df44faf08 Mon Sep 17 00:00:00 2001 From: sohelhussain Date: Tue, 22 Oct 2024 08:23:59 +0530 Subject: [PATCH] feat: Adjusted button smoother UI experience --- index.html | 18 +++++++++--------- style.css | 25 +++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index a45f16a3..98d0a1f1 100644 --- a/index.html +++ b/index.html @@ -201,8 +201,8 @@

It is long established fact that reader distracted by the readable content.

-
- Get Started Now +
+ Get Started Now
@@ -419,7 +419,7 @@

Finances

@@ -842,9 +842,9 @@

- @@ -1051,7 +1051,7 @@

@@ -1230,7 +1230,7 @@

Emily Johnson

@@ -1287,7 +1287,7 @@

Creative Design Thinking

- View All Workshops + View All Workshops
diff --git a/style.css b/style.css index c0b77819..ae0243f8 100644 --- a/style.css +++ b/style.css @@ -209,4 +209,29 @@ margin-right: 60px; margin-bottom: 10px; font-size: 36px; width: 50%; +} + +.btn-box{ + display: flex; + align-items: center; + justify-content: center; +} + +.button{ + display: inline-block; + width: fit-content; + background-color: rgba(0, 0, 0, 0.753); + padding: 10px 20px; + border-radius: 10px; + font-size: 20px; + text-align: center; + font-weight: bold; + color: white; + transition: all 0.9s ease; +} + +.button:hover{ + background-color: rgba(0, 0, 0, 0.977); + transform: scale(1.3); + color: white; } \ No newline at end of file