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
- Solution URL: https://www.frontendmentor.io/challenges/order-summary-component-QlPmajDUj/hub
- Live Site URL: https://andrew2764.github.io/order-summary-component/
- Vanilla HTML/CSS
- Flexbox
- Mobile-first workflow
- BEM naming convention
First time in these challenges where I use background images. I'm also not familiar with using the box-shadow CSS property. So much so that I simply went to https://getcssscan.com/css-box-shadow-examples and copied one of the examples into my code.
.button--primary {
box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px,
rgba(0, 0, 0, 0.22) 0px 15px 12px;
}
As I mentioned earlier. I went to the following link to copy and paste a box-shadow example. I'll need to get myself fabiliar with wititng these up myself. https://getcssscan.com/css-box-shadow-examples
- Frontend Mentor - @andrew2764