Skip to content

DiegoIBH/css-grid-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Testimonials grid section solution

This is a solution to the Testimonials grid section 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 for the site depending on their device's screen size

Screenshot

Testimonials pic on 1440px Testimonials pic on 375px

Links

My process

Built with

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

What I learned

I managed to spend more time in optimizing code for general purposes which is normally hard for me to see or put time in (all though I would like to hear opinons on how my code might be to extensive or confusing).

Also, to give more general mesure units for margin, padding and font-size... which in return makes it easier to adjust to screen on different sizes by increasing :root font-size.

Below some simple animation to give more attention to the image of the testimonials:

.student-img{
    border-radius: 50%;
    border: 3px 
}
.container:hover .student-img{
    animation: pulse 2s infinite;
    animation-timing-function: ease-in-out;
}
@keyframes pulse{
    0%{box-shadow:0 0 4px orange}
    25%{box-shadow:0 0 6px orange}
    50%{box-shadow:0 0 10px orange}
    75%{box-shadow:0 0 6px orange}
    100%{box-shadow:0 0 4px orange}
}

Continued development

I am still figuring out how line-height works with for different font sizes or headers

Optimizing code (less lines equal result)

Having a better understanding on design and animation.

Useful resources

Author

About

Practice CSS Grid

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published