Skip to content

Gloryjaw/Stats-Preview-Card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 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

Note: Delete this note and update the table of contents based on what sections you keep.

Overview

The challenge

Users should be able to:

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

Built with

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

What I learned

I learned to use mix-blend-mode to give dark color to image

img {
  width: 100%;
  border-radius: 10px 10px 0 0;
  height: 100%;
  display: block;
  mix-blend-mode:multiply;
  

}
.img{
  background-color:  hsl(277, 64%, 61%);
}

##.img is parent of img tag

Useful resources

-Kevin Powell explaination to mix blend mode - Deep dive into mix blend mode -W3school docs of mix blend mode

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published