Skip to content

My solution to order-summary-component-main challenge for mentor font-end

Notifications You must be signed in to change notification settings

btebe/order-summary-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Order summary card solution

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.

Table of contents

Overview

The challenge

Users should be able to:

  • See hover states for interactive elements

Screenshot

Links

My process

Built with

  • Normal HTML5 markup
  • CSS custom properties
  • Flexbox
  • Media queries
  • React - JS library

What I learned

I learnt that you could add a linear-gradient to a background with a url image. Also i learnt how to add custom variables to a linear gradient. The down side about this is that if added an rgba or hsl variables, you can't add opacity to it on the same line.

  • example:
.proud-of-this-css {
  background: url("image"), linear-gradient(var(--Very-pale-blue), var(--Pale-blue));
}

Continued development

  • image resizing
  • element positioning
  • linear-gradient
  • box-showing

Useful resources

Author

About

My solution to order-summary-component-main challenge for mentor font-end

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published