NFT preview card component

Solution retrospective
I only recently started learning web development. Trying basic challenges. I couldn't figure out some of the text positioning:
- How to I position/float text next to a picture and vertically align the center of the text to the center of the picture?
- If I want to align an inline-block element to the right is floating the only way?
Thanks!
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Naveed89-tech
You can use a Flexbox around these elements. You can check my solution for this challenge.
Marked as helpful
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