This is a solution to the Single price grid 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 for the component depending on their device's screen size
- See a hover state on desktop for the Sign Up call-to-action
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
I learned how to develop a responsive web page:
@media (min-width:480px) {
#header {
grid-column: 1/3;
}
.container{
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(2, auto);
}
#subscription{
border-bottom-left-radius: 5px;
}
#why_section {
border-radius: 0px 0px 5px 0px;
}
}
-
Frontend Mentor - @samadvalipour
-
Linked in - @samad valipour