Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance Grid Responsiveness, Consistent Card Heights, Flexbox Alignme… #248

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

itzsudipta
Copy link

This update improves the grid's responsiveness with flexible columns, ensures consistent card heights using min-height, and applies flexbox for proper vertical alignment and spacing. Additionally, a vibrant color scheme with gradient backgrounds and hover effects has been added to enhance visual appeal.

grid-template-columns:

Uses repeat(auto-fit, minmax(300px, 1fr)); to maintain a flexible grid layout with a minimum width of 300px per card. This ensures the grid adapts well to different screen sizes while keeping the cards at a consistent width.
Consistent Card Heights:

min-height: 450px is applied to ensure that all cards maintain the same height, even if their content varies. You can adjust the height value to match your design needs.
The display: flex and flex-direction: column properties are used inside the cards to vertically stack the content and ensure that the content within the card is well-aligned.
Equal Spacing Inside Cards:

justify-content: space-between: Ensures the title, text, and button have equal vertical spacing within each card.
flex-grow: 1: Ensures the paragraph element stretches to fill the remaining space in the card, helping to maintain a uniform height between cards.
Responsive Design:

The grid automatically adjusts to fit multiple cards in a row, depending on screen width. Each card will be a minimum of 300px wide and will adjust as the viewport size changes.
The overall structure remains consistent on all screen sizes, maintaining the clean, level layout.

…nt, and Add Vibrant Color Scheme with Hover Effects in About Section
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant