Skip to content

Ezekiel-Great/stats-preview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 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

Screenshot

Mobile view

Alt text

Desktop view

Alt text

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox

What I learned

  • Use of Flex to center an element
    main{
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
 }
  • To ovelay color over a background
    .container picture::before{
    content: '';
    position: absolute;
    inset: 0;
    background-color: hsla(281, 82%, 39%, 0.5)
    } 

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published