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

Tarjeta creada con HTML, CSS utilizando flexbox

P
JJorgeMS13 250

@JJorgeMS13

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?

Poder crear el diseño lo mas parecido posible, comentaria mas mi codigo.

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

El poder hacer que la imagen se aclopara bien al tamaño de mi figure, lo logre con la propiedad object-fit: cover; y display: block;

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

Me gustaria recibir retro de que es lo que puedo mejorar y si existe alguna manera de hacer que la propiedad de un elemento cambie si paso el mouse sobre otro elemento y que en los dos pueda hacer cambios sin necesidad de javascript.

Community feedback

P

@Cinquantesix

Posted

Hello,

Your design is pretty good when you look the reference, congrats!

In your code, you don't need to specify every size like width:…; and height:…;. Maybe you can read about how child and parent share some properties. For exemple, if you set a size for you .container-card, you can just push the image with padding and the content will automaticaly have is size (you just needed to adapt img).

For the states changes, you can use pseudoclass like :hover you can read more about it there: CSS Pseudo-classes. There is a lot of states you can style.

Good luck for the futur !

0

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