Skip to content
  • Learning paths
  • Challenges
  • Solutions
  • Articles
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

Blog preview card using Tailwind CSS

tailwind-css
John Pugh•340
@JohnPugh688
A solution to the Blog preview card challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Another simple Mentor challenge complete! Although this was a simple challenge i have managed to still learn from it. Working out how to get the shadow effect was tricky enough. but thankfully after watching a few youtube videos It seems it was easier than i thought! and i learned a little about absolute and relative positioning along the way. I also figured out to to stop the button/anchor tag from taking up the full width of the flexed section by using w-fit. who knew it was so simple eh?

As always please don't hesitate to give me some constructive criticism as for me its the best way to learn. Thanks in advance

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 John Pugh'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
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