Skip to content

Latest commit

 

History

History
75 lines (52 loc) · 2.11 KB

README.md

File metadata and controls

75 lines (52 loc) · 2.11 KB

Frontend Mentor - Order Summary Card Solution

This is my solution to the Order Summary Card challenge on Frontend Mentor. This project was a great opportunity to practice structuring a small, focused component while using semantic HTML and CSS.

Table of Contents

Overview

The Challenge

Users should be able to:

  • See hover states for interactive elements.

Screenshot

Desktop View

Links

My Process

Built With

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox for layout
  • Mobile-first workflow
  • Custom fonts using @font-face (Red Hat Display)

What I Learned

This project helped solidify my understanding of CSS custom properties, hover states, and responsive design. One of the highlights was implementing a reusable and visually appealing button style:

.card__button {
  background-color: var(--bright-blue);
  color: var(--pale-blue);
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 10px 20px -10px var(--bright-blue);
  transition: all 0.3s ease;
}

.card__button:hover {
  background-color: hsl(245, 100%, 72%);
}

Continued Development

I plan to focus on improving:

  • Consistency in typography across devices using a combination of custom fonts and responsive units.
  • More complex layout management using CSS Grid in future projects.
  • Enhancing interactivity with advanced hover and focus styles.

Author