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 landing page

@Stephenpleasant


Design comparison


SolutionDesign

Solution retrospective


Please help me to put the circle border around the icons

Community feedback

Wendy 1,670

@wendyhamel

Posted

Hi Stephen,

In answer to your question:

You are close, if you move te styling of the border from the i elements to the parent div you're all set. The i element is used for the fontawesome. I would not use it for other styling. The padding right you added to create the space between the icons will be a problem if you move the border styling. You can change that to margin. Notice you are writing invalid css with your line of: border-color: #fff 20px solid Do you know how you can fix that? I won't write it out for you, so you can try for yourself. If you need more help to get it to work, feel free to respond.

Something to add: color: white to the div styling to give the icons the white color to start with.

Hope this helps you to finish this challenge nicely!

Happy coding!

Marked as helpful

0
_nehal💎 6,730

@NehalSahu8055

Posted

Hello Coder 👋.

Congratulations on successfully completing the challenge! 🎉

Few suggestions regarding design.

➨To properly center the container.

  • USING FLEXBOX
main{
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
  • USING GRID
main{
min-height: 100vh;
display: grid;
place-items: center;
}

➨ Quick Method : For circle border around social icons :

i{
color: white;
border: 1px solid white;
border-radius: 50%;
}
  • You can adjust spacing using padding.

I hope you find this helpful.

Happy coding😄

Marked as helpful

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