Skip to content

troy03/Stats-preview-card-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Stats preview card component solution

This is a solution to the Stats preview card component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Overview

This project will help you to practice your CSS skills including responsive design.

The challenge

Users should be able to:

  • View the optimal layout depending on their device's screen size

Screenshot

-Desktop View

-Mobile View

Links

My process

First I design this project as mobile-first approach and use semantic design

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow

What I learned

I learn about a css propertice which is mix-blend-mode that sets how an element's content should blend with the content of the element's parent and the element's background.

To see how you can add code snippets, see below:

img {
    max-width: 100%;
    mix-blend-mode: multiply;
}

figure {
    background-color: hsl(277, 64%, 61%); 
    border-radius: 12px  12px 0px 0px;  
    height: 15.15em;
}

Useful resources

  • MDN - This helped me that here some property which is mix-blend-mode that you can mix an image and a background-color.

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published