This is a solution to the Huddle landing page with curved sections 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 for the site depending on their device's screen size
- See hover states for all interactive elements on the page
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- To force same width on items, make flex-grow = 1 AND flex-basis must be reset to 0
.item {
flex-grow: 1;
flex-basis: 0;
}
- or, use Grid:
.container {
display: grid;
/* this specifies direction */
grid-auto-flow: column;
/* every [implicit] column is same size */
grid-auto-columns: 1fr;
}