Stats preview using Tailwind CSS

Solution retrospective
I am really beginning to develop an efficient workflow: using the style guide and figma files before starting, looking up tailwind values ahead of time, really speeds up the process. I wasn't too sure about tailwind before, but now I am beginning to like it.
What challenges did you encounter, and how did you overcome them?The real challenge of this project is to get the colored overlay on the photo. The rest is pretty basic stuff. I experimented with ::before, and rather than having a monster set of classes on the hero section, I opted to go with a more vanilla CSS approach to the overlay. I also looked at how other people handled this, which was very helpful. @Kken007 had a much simpler approach that did not involved ::before.
What specific areas of your project would you like help with?Any feedback is welcome, especially in how I could possibly do the overlay with just tailwind.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on beowulf1958'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