diff --git a/index.css b/index.css index a097e474..0230ee39 100644 --- a/index.css +++ b/index.css @@ -36,7 +36,7 @@ display: flex; align-items: center; padding: 0.5rem 1rem; - +} /* .page-header { margin-bottom: 1rem; } */ diff --git a/index.html b/index.html index b51d4390..3adfa669 100644 --- a/index.html +++ b/index.html @@ -267,8 +267,29 @@ opacity: 0.8; } +.card1:hover .card-inner { + transform: rotateY(180deg); + } + .card-inner { + position: relative; + width: 100%; + height: 100%; + text-align: center; + transform-style: preserve-3d; + transition: transform 0.8s; + } + + .card-front, .card-back { + position: absolute; + width: 100%; + height: 100%; + backface-visibility: hidden; + } + .card-back { + transform: rotateY(180deg); + } @@ -459,30 +480,43 @@

Products

-
- Spinach -
-
Spinach
-

Healthy and fresh spinach leaves.

- Add to Cart -
-
-
- Tomato -
-
Tomato
-

Fresh organic tomatoes directly from our farms.

- Add to Cart -
-
-
- Broccoli -
-
Broccoli
-

Green and fresh broccoli heads.

- Add to Cart -
-
+ +
+
+
+ Broccoli +
+
+
Spinach
+

Healthy and fresh spinach leaves.

+ Add to Cart +
+
+
+
+
+
+ Broccoli +
+
+
Tomato
+

Fresh organic tomatoes directly from our farms.

+ Add to Cart +
+
+
+
+
+
+ Broccoli +
+
+
Broccoli
+

Green and fresh broccoli heads.

+ Add to Cart +
+
+