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

Responsive card using pure css

#vue#vuetify
Mawira 70

@RodgersX

Desktop design screenshot for the Advice generator app coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
  • API
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


  • How do I align the button for both desktop and mobile view?

Community feedback

@PaliTriesToDesign

Posted

Hello!

Try adding position: relative to your advice-card div. Then, you could adjust your refresh-btn with the bottom: property but most important (I think), try this with your right: or left: property: right: 50%; transform: translateX(50%);.

This should center your button horizontally relative to your card.

Marked as helpful

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