This is a solution to the 3-column preview card component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- View the optimal layout depending on their device's screen size
- See hover states for interactive elements
Desktop
Mobile
Status Active
- Solution URL: GitHub repository
- Live Site URL: My site
- Semantic HTML5 markup
- CSS custom properties
- CSS Grid
I learned how to use CSS Grid and how to make it fit the screen where it is being displayed.
.container {
margin: 100px 150px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
I want to continue developing and using CSS Grid to improve my CSS Grid skills.
- Frontend Mentor - @Juan13052001