Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Four card feature section with Sass, BEM and some CSS animation

Greta• 340

@gretagr

Desktop design screenshot for the Four card feature section coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hello there. With this project I'd really like to work on SVG animations, like the blink of an eye, appearing light bulb rays, and so on. I think animation should happen when the site visitor hovers a particular card.

The problem, I don't even know where to start. It seems a very complicated process. How do you animate your SVG's? Do you use CSS, js or some particular libraries?

Community feedback

argel omnes• 1,800

@argelomnes

Posted

Hi Greta,

I love your idea regarding how the icons will animate. Mind if I use it when I do this challenge? I saw someone used GreenSock in his/her solution but can't remember who or what the project was. (sorry). Maybe starting with that will help.

3

Greta• 340

@gretagr

Posted

@argelomnes I'm glad you liked the idea, of course, you can. I'm looking forward to seeing your solution! And thank you for the suggestion, I found an interesting tutorial regarding GreenSock and SVG's, I'm going to try to use it in my project.

0
P
Matt Studdert• 13,611

@mattstuddert

Posted

Awesome work again Greta, your solution looks really good! When it comes to learning about SVG animation I'd recommend reading articles by and watching videos of Sarah Drasner. She's an amazing developer and specifically focuses on SVG animation a lot of the time. She's done loads of talks that are up on YouTube. Well worth watching!

2

P
Matt Studdert• 13,611

@mattstuddert

Posted

@gretagr haha, she does! Her talks are always really interesting and full of amazing tips and tricks.

1
Greta• 340

@gretagr

Posted

@mattstuddert thank you for your feedback and suggestion of Sarah! I looked her up, she makes SVG's sound soo exciting!

0
B-Shadoink• 80

@B-Shadoink

Posted

How did you do those animations Greta? awesome work bytw.

0

Greta• 340

@gretagr

Posted

@B-shadow thank you! It's just plain old CSS. I use transitions for smooth breakpoints, for hover effects - transform: scale, scale + keyframes for cards on load.

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord