Skip to content

aparajitdotbee/stats-preview-card-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 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


Mobile Preview


Mobile Preview


Desktop Preview

Desktop Preview

Links

My process

Built with

  • HTML5
  • CSS3

What I learned

<img srcset = "images\image-header-mobile.jpg 654w,
                   images\image-header-desktop.jpg 540w"
         sizes = "(max-width: 768px) 654px, 
                  540px"
         src = "images/image-header-desktop.jpg"
         alt = "Header Image">
.container {
    color: hsl(0, 0%, 95%);
    width: auto;
    max-width: 920px;
    margin: 170px 250px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 0;
    align-items: center;
}

Continued development

  • Hover animations
  • Spacing and indentations
  • Margin and Padding
  • Display and Position styles
  • Responsive Images

Useful resources

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published