Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted almost 3 years ago

4 Card Feature Section (Vanilla CSS + Custom Design + Glassmorphism)

Lucas 👾•104,160
@correlucas
A solution to the Four card feature section challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


👾 Hello, Frontend Mentor coding community. This is my solution to the Four Card Feature Section.

😎 I had a lots of fun doing the challenge and doing some custom design improvements.

This is a solution that I've finished before but I decided to update it, when I saw a solution of guy Yefry Sanchez where he applied an hover effect on the card where the icon flips while hovered, so I tried to apply something similar to mine inspired on what he did. Here's is his profile @y25sanchez . Nice solution bro!

👻 I added some features 💀

  • 🎨 Text Gradient on main heading.
  • 🥃 Glassmorphism on card hover.
  • 🎨 Custom background.

Feel free to leave any feedback.

Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

  • Felipe de Jesus Campos•70
    @felipejesus-front
    Posted over 2 years ago

    @correlucas

    Sempre que eu termino um desafio eu venho ver a sua solução e SEMPRE acho q fiz algo errado kkkk vc sempre deixa 500% melhor que o original, muito fera, inspira muito!

    Marked as helpful
  • Amaury Franssen•180
    @ExploryKod
    Posted almost 3 years ago

    Great job, I love it: it improve the interaction with the user, the initial design was a little too static whereas these cards are there to call us into action, make us paying attention to them. Glassmorphism is a very good technique, I will remember it. Thanks for sharing this inspiration.

    To improve it even better, why do the pointer stay identical ? May be I am wrong but if these cards contains links to another part of the website, it would be good to create a cursor pointer on the right element. However, I might be wrong and these cards may not be links. 👏🏾👏🏾

    Marked as helpful
  • Elaine•11,360
    @elaineleung
    Posted almost 3 years ago

    So glad you updated it, love the spinning icons, which I definitely will borrow later (thank you also to Yefry!)

    In this work I just love how you made slight changes to the existing design instead of doing something completely different. In a sense it's improving the original design also. I'm really not a fan of the SVG backgrounds in so many of these designs because firstly, positioning them takes a lot of time to get right and is no fun, but more importantly, they usually are super poor in contrast against the background, and it's so hard to even see where they are, let alone trying to position them. I think the circles you added in the background actually makes everything pop a bit more; I'm usually complaining about those SVGs and wish they're not there, and yet in this design (which is one of the very few that doesn't have a background) I think the SVGs you added make it look better, especially with the opacity on the card.

    Well done once again! 👏

    Marked as helpful
  • Emad•270
    @emadbakry
    Posted almost 3 years ago

    omg i see it is even better than the normal one, i hope i am not bothering if i asked about the time you spent to be at this level, am i?

    and i have a small idea that might make the design more modern it is about using @keyframe to Animate those little icon (like infinit up and down animation using transformY) do not use margin for animating things, if you like the idea i would be happy to see the changes, thanks.

    Marked as helpful
  • Adriano•42,870
    @AdrianoEscarabote
    Posted almost 3 years ago

    Fiquei dois dias fora, e você já lança dois projetos top.

    Gostei muito das imagens de fundo, deu uma preenchida bem legal na página. As Animações que você colou nas imagens, a opacidade do card diminuindo com o efeito hover… tudo fantástico.

    Não tem muito o que falar hauhauaha

    Parabéns, evoluindo como sempre não tem jeito!

    Marked as helpful
  • Chukwudobe Micah Chinedu•700
    @chukwudobe-Micah
    Posted over 2 years ago

    Okay then, I'll try to tail you with these animation effects and your feedbacks will be very helpful and appreciated. <3 And also, I feel you must have had somewhere where you learnt these different effects and got the ideas from, can you share? And also, if you make a container card flip, does the whole content in the container flip?

  • Chukwudobe Micah Chinedu•700
    @chukwudobe-Micah
    Posted over 2 years ago

    Wow, this is just too much. Really great work. And also, do you write all your animations yourself? Or you use animate.css sometimes.

  • devnnga•20
    @devnnga
    Posted almost 3 years ago

    @correlucas can you share your source code please? Been trying to understand how to make that layout. Thanks

  • Shaswat Singh•190
    @shaswatsingh19
    Posted almost 3 years ago

    Another one of your great art I would say. Can I use your design to build the project if you don't mind?

  • Johnny•490
    @johnnysedh3lllo
    Posted almost 3 years ago

    intuative as always. great job, Lucas. 👏🏼

  • Bruno L L Oliveira•180
    @BrunoleonardoDev
    Posted almost 3 years ago

    Show ! 👏🏾👏🏾

  • Manny Verma•240
    @mverma45
    Posted about 1 year ago

    wow good job lucas looks amazing.

  • Raja Junaid Farooq•390
    @Raja-Junaid
    Posted over 2 years ago

    Hi Lucas! Congratulation on completing this beautiful and unexpected challenge. I clap for you 🙌. You put so much hard work and time as seen in your design section. I really like this solution.

    There is 0 ACCESSIBILITY ISSUES and 0 HTML ISSUE. It opened my eye's when I see your solution. And your code is also neat and clean.

    VERY APPRECIATED!

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
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

How does the accessibility report work?

When a solution is submitted, we use axe-core to run an automated audit of your code.

This picks out common accessibility issues like not using semantic HTML and not having proper heading hierarchies, among others.

This automated audit is fairly surface level, so we encourage to you review the project and code in more detail with accessibility best practices in mind.

How does the CSS report work?

When a solution is submitted, we use stylelint to run an automated check on the CSS code.

We've added some of our own linting rules based on recommended best practices. These rules are prefixed with frontend-mentor/ which you'll see at the top of each issue in the report.

The report will audit 1st-party linked stylesheets, and styles within <style> tags.

How does the HTML validation report work?

When a solution is submitted, we use html-validate to run an automated check on the HTML code.

The report picks out common HTML issues such as not using headings within section elements and incorrect nesting of elements, among others.

Note that the report can pick up “invalid” attributes, which some frameworks automatically add to the HTML. These attributes are crucial for how the frameworks function, although they’re technically not valid HTML. As such, some projects can show up with many HTML validation errors, which are benign and are a necessary part of the framework.

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub