From faba36de20e7cae4ee1c225933ef0b7ae61a2da8 Mon Sep 17 00:00:00 2001 From: TheMrQ Date: Sun, 10 Nov 2024 15:05:59 +0700 Subject: [PATCH] feat(website): added 3D tilting cards required for the website --- Code/index.html | 28 ++++++++++++++++++++++++++-- Code/style.css | 20 ++++++++++++++++++++ 2 files changed, 46 insertions(+), 2 deletions(-) diff --git a/Code/index.html b/Code/index.html index 5f5473c..b34e0a6 100644 --- a/Code/index.html +++ b/Code/index.html @@ -82,8 +82,32 @@
"Winners dont do
different things,
they do things
differently"
- - +
+
+

Card 1

+

Information about Card 1.

+
+
+

Card 2

+

Information about Card 2.

+
+
+

Card 3

+

Information about Card 3.

+
+
+ + + + + diff --git a/Code/style.css b/Code/style.css index 8e70a62..bcc5502 100644 --- a/Code/style.css +++ b/Code/style.css @@ -21,6 +21,26 @@ body background-attachment: fixed; } +.card-container { + display: flex; + gap: 20px; + justify-content: center; + margin-top: 20px; +} + +.card { + width: 200px; + height: 150px; + background-color: #f5f5f5; + border-radius: 10px; + box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3); + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; + transition: transform 0.3s ease; +} + header { position: relative;