This is a solution to the Order summary component 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
- Mobile-first workflow
I gained basic understading of implementing hover elements.
button {
display: block;
width: 100%;
border: none;
border-radius: 10px;
padding: 1em 0;
background-color: var(--clr-brblue);
color: var(--clr-white);
margin-top: 10px;
font-weight: 700;
font-size: 16px;
cursor: pointer;
}
button:hover {
background-color: var(--clr-dsblue);
}
.alt-btn {
background: none;
color: var(--clr-dsblue);
box-shadow: none;
}
.alt-btn:hover {
background: none;
color: var(--clr-dkblue);
}
vertical-align: bottom;
- Scrimba - This platform provided me with an opportunity to learn react for free
- Github - @soji
I am very grateful to Smug & Openwell for always making time out of their busy schedules to see to my coding challenges and providing me with extra motivation.