Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Blog-card-preview

P

@Celeste-Rhoades

Desktop design screenshot for the Blog preview card coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


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

That I was able to find the answers and it it to look close to the original

What challenges did you encounter, and how did you overcome them?

I couldn't find how to make the cursor pointer to black when on hover

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

How can you change hand color on hover

Community feedback

@Urias-Ramos

Posted

Hello @Celeste-Rhoades! I want to start by congratulating you on your excellent work with the solution you have proposed.

Regarding the question about changing the color of the cursor, unfortunately, it is not possible to do it directly. However, you can use the cursor property to replace the default cursor with a custom image.

Here is an example of how to do it:

cursor: url('../imagenes/cursor.png'), url('../imagenes/cursor.cur'), ​​​​auto;

In this line of code, url is the address of the PNG image that will be used as the cursor. If the browser cannot load the PNG image, the .cur image address will be used. If neither can be loaded, the system default cursor, indicated by auto, will be used.

For more details on how to use images as custom cursors in CSS, I recommend checking out this link.

It worked for me using .cur

Marked as helpful

1

P

@Celeste-Rhoades

Posted

@Urias-Ramos thank you so much for the kind words. Also thank you I’m going to try this as well. I really appreciate you sharing it with me

0
P
Koda👹 3,810

@kodan96

Posted

hi there! 👋

You can use the :hover pseudo-class for hover-effects. for example:

h3:hover {
    color: beige;
} 

would change the color of all h3 tags to beige when they're hovered

Hope this was helpful🙏

Good luck and happy coding! 🙌

1

Please log in to post a comment

Log in with GitHub
Discord logo

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