Build a responsive design for an Order Summary card from mock-up pictures.
Users should be able to:
- See hover states for interactive elements
- Solution URL: https://github.com/berta-rf/order-summary-component-main
- Live Site URL: https://berta-rf.github.io/order-summary-component-main
- HTML5
- CSS custom properties
- Bootstrap 5.2
- SCSS
- Mobile-first workflow
This is my first ever project using Bootstrap and SCSS. See a couple of code snippets that show how I used SCSS to add custom bootstrap theme colours and merged it with the theme colours.
#change-link {
color: $brightblue;
font-size: 12px;
}
#change-link:hover {
color: $activepurple;
text-decoration: none;
}@import "../node_modules/bootstrap/scss/functions";
@import "../node_modules/bootstrap/scss/variables";
$custom-theme-colors: (
"paleblue": hsl(225, 100%, 94%),
"brightblue": hsl(245, 75%, 52%),
"verypb": hsl(225, 100%, 98%),
"desatblue": hsl(224, 23%, 55%),
"darkblue": hsl(223, 47%, 23%),
"activepurple":hsl(245, 63%, 65%),
);
$theme-colors: map-merge($custom-theme-colors, $theme-colors);- The Net Ninja - Bootstrap 5 Tutorial - This is a great 20 episode Boostrap 5 crash course. I'd recommend it to anyone starting with Bootstrap.
- GitHub - berta-rf
- LinkedIn - Berta Romano Fernandez
- Frontend Mentor - @berta-rf
