Submitted 10 months agoA solution to the Social links profile challenge
Social Links Profile // Vanilla HTML & CSS
P
@klhaug

Solution retrospective
What challenges did you encounter, and how did you overcome them?
Centering the buttons without align-items: center. Align-items:center kept resizing the buttons to their minimal width, so I ended up using margin:auto instead to center them.
Would love an explanation as to how that is? Or if my solution is the "correct" one...
What specific areas of your project would you like help with?- Is it good semantic html to keep the <a> inside the <p>?
- How do i use the transition-property to make the background-color change back to grey smoothly? I apply the transition on my .primary-button, but the it transitions the entire button causing a layout-shift.
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Kristian Haug's solution.
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