Design comparison
Solution retrospective
hello, hope that your monday is going great, this is my second challenge here in frontendmentor, the only setback that i found was centering the 'a' tag, because it is just a 2 column layout i decided to use only flexbox, at first i could't center the a tag (yeah only the a tag) in his container but i was decided to not give up and center it using flexbox, eventually i gave up and just used grid to center it, so if someone can tell me how to center it using flexbox would be taking a chip out of my shoulder
Community feedback
- @markcodesPosted over 3 years ago
Put the a tag inside its own div you can set it like this:
div { text-align: center; }
just remember, the a tag is inline so it can be aligned like a normal text.
Tc.
0
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