You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project is a web layout assignment designed to demonstrate proficiency in CSS Grid and Flexbox. The objective was to create a responsive and interactive card-based interface for a book collection.
4
+
5
+
## Assignment Instructions
6
+
7
+
The following requirements were met during the development:
8
+
9
+
1.**Container (Grid):** A parent container was created using CSS Grid to display 3 cards in one row on desktop devices.
10
+
2.**Cards (Flexbox):** Each card contains an image, title, short description, and an 'Add to Cart' button.
11
+
3.**Internal Alignment:** Flexbox was used inside each card to arrange items vertically with proper spacing.
12
+
4.**Design Requirements:** Implemented border-radius, box-shadow, and interactive hover effects.
13
+
5.**Button Styling:** Buttons were styled with specific background colors and interactive hover color transitions.
14
+
15
+
## Implementation Details
16
+
17
+
-**CSS Grid:** Used `grid-template-columns: repeat(3, 1fr)` to ensure a clean 3-column layout.
18
+
-**Flexbox:** Employed `display: flex` with `flex-direction: column` to manage vertical alignment within the cards.
19
+
-**Interactive Effects:** To achieve the "expand on hover" feature without disrupting the layout, I used `position: absolute` for the cards inside a defined `card-wrapper`. This ensures the elements stay fixed while the card expands.
20
+
-**Maintainability:** Utilized CSS variables (`:root`) for color themes, allowing for easy global updates.
21
+
22
+
## Technologies Used
23
+
24
+
-**HTML5**
25
+
-**CSS3** (Grid, Flexbox, Transitions, Variables)
26
+
27
+
---
28
+
29
+
_Developed as part of the MERN 16 || M-3 Assignment._
0 commit comments