This is a solution to the Stats preview card component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
Note: These are just examples. Delete this note and replace the list above with your own choices
Continuing the tailwind CSS journey, this is a re-do of the challenge using tailwind. I was able to use the
.hero::before {
content: " ";
width: 100%;
height: 100%;
opacity: 20%;
background-color: #f019f4;
position: absolute;
top: 0;
left: 0;
}
Use this section to outline areas that you want to continue focusing on in future projects. These could be concepts you're still not completely comfortable with or techniques you found useful that you want to refine and perfect.
Note: Delete this note and the content within this section and replace with your own plans for continued development.
@Opeyemi-stack helped me with the overlay element from the nft preview card challenge. That project showed me how to use ::before with an img element to produce a colored overlay.
@KKen007 also has a great solution to this challenge which influenced me.