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
Add a screenshot of your solution. The easiest way to do this is to use Firefox to view your project, right-click the page and select "Take a Screenshot". You can choose either a full-height screenshot or a cropped one based on how long the page is. If it's very long, it might be best to crop it.
Alternatively, you can use a tool like FireShot to take the screenshot. FireShot has a free option, so you don't need to purchase it.
Then crop/optimize/edit your image however you like, add it to your project, and update the file path in the image above.
Note: Delete this note and the paragraphs above when you add your screenshot. If you prefer not to add a screenshot, feel free to remove this entire section.
- Solution URL: Add solution URL here
- Live Site URL: Add live site URL here
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
- I learned more about position (relative & absolute), it took me about 30 minutes to figure out the solution with positioning the background image.
- I realize the button wasn't taking the gobal values so i had to change the value myself with attribute (type="button") and CSS pseudo selector. To see how you can add code snippets, see below:
<button type="button" class="btn btn-payment">Proceed to Payment</button>
<button type="button" class="btn btn-cancel">Cancel Order</button>
.btn-box [type="button"] {
font-family: 'Red Hat Display', sans-serif;
font-weight: 700;
font-size: 16px;
border-radius: 15px;
}
- I want to continue my research on (min-width:).