Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 5 months ago

Responsive Card with TailWindCSS and HTML5

tailwind-css
Anil Kumar Meena•70
@J33rry
A solution to the Social links profile challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

Added a smooth background color transition which starts from the center.

<div
    class="relative group text-md bg-link w-full text-center rounded-lg p-3 tracking-wide hover:text-link duration-200 cursor-pointer overflow-hidden"
>
    <div
        class="absolute inset-0 opacity-0 w-full scale-x-0 h-full bg-address rounded-lg transition-all duration-200 group-hover:scale-x-100 group-hover:opacity-100 z-0"
    ></div>

    <span class="relative z-10">GitHub</span>
</div>
What challenges did you encounter, and how did you overcome them?

None

What specific areas of your project would you like help with?

N/A

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Anil Kumar Meena's solution.

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

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

Frontend Mentor

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

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