Skip to content

BryanCloudDev/StatsPreviewCardComponent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 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

The challenge

Users should be able to:

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

Screenshot

Desktop design

Mobile design

Links

My process

Built with

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

What I learned

I am really happy to know that I have lerned how I can add a background image and also a background color both of them at the same time using the CSS property "background-blend-mode" with the value "soft-light" in order to have the faded pink background color and also the background image:

<section class="img-color">
.container .img-color {
    width: 100%;
    height: 25em;
    background-image:url(https://i.imgur.com/hTcFdjS.jpg);
    background-color: rgba(170, 91, 219, 0.7);
    background-blend-mode: soft-light;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; }

Continued development

I am committed to keep improving my skills when naming classes and also how to make better responsive images to avoid using so much mediaqueries for them.

Useful resources

Author

Acknowledgments

I really want to thank to Codigofacilito, it's a spanish channel on Youtube I learned how to work with the hero image and how to fade it with CSS.

You can check their videos here:)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors