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 PREVIEW CARD USING HTML & CSS

HIGHZIKdc 20

@HIGHZIKdc

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?

I'm proud im getting a bit better

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

positioning of my contents....Practicing made me overcome them.

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

well still with the CSS positioning.

Community feedback

MarGuc1 40

@MarGuc1

Posted

Looking for an easy way to make your card responsive? Try this:

.card {
  width: 90%;
  max-width: 37.5rem;
}

On smaller screens, the card will be 90% wide, but it will stay fixed at 37.5rem (600px) once it reaches that size.

To center the card, use this code:

.container {
  display: grid;
  place-items: center;
}

Hope this tip helps! 💗💗💗

Keep up the fantastic work! 😁😊😉

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