This is a solution to the Order summary card challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- See hover states for interactive elements
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
centering Absolute elements is easier with the transform:translate();
also margin: auto;
saves life
Would continue to learn the transform and the possibilities it brings.
- Stack Overflow - This helped me with the centering issue. I really liked this pattern and will use it going forward.
- Frontend Mentor - @Mire-web
- Twitter - @not_ifeanyi