Design comparison
SolutionDesign
Solution retrospective
My button keeps changing position based on the size of the screen?How can I fix that? Any suggestions/tips.
Community feedback
- @simokitkatPosted over 2 years ago
you can give the #content {position :relative} and give the button { position: absolute; bottom: 0; left: 50%; transform: translate(-50%, 50%); }
and it will be fixed at center bottom of the parent div
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin 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