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
- Styled Components - For styles
I learned about place-self property which can be used in both, flexbox and grid.
<div class="container">Some Code</div>
.container {
place-self: center;
}
I want to continue focusing on improving my layout management skills in future projects. These come in handy while building a website.
- place-self - This helped me understand an important property called place-self, which can be used to center an item on the page instead of using both, the justify-content and align-items property.
- Frontend Mentor - @Harshitsoni2000
- GitHub - @Harshitsoni2000