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

Clipboard-landing-page /HTML, CSS, Flex, Mobile first workflow

@Duyen-codes

Desktop design screenshot for the Clipboard landing page coding challenge

This is a solution for...

  • HTML
  • CSS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


Please help! in workflow section, I have a flex container for the flex-looking content columns, but somehow the contents inside 3 flex items are not correctly aligned. Any help/hints would be greatly appeciated!

Community feedback

@MojtabaMosavi

Posted

Regarding you query:

I not sure if i understand you're question correctly, it would help a great deal if you describe the desired outcome that you're trying to accomplish.

If you're mean not flex-items don't have eaqual width by "not correctly aligned", there are different ways of making that happen. The first item is taking more space that the two other because it's has more content.

  • By explicitly telling flex container how you want to distribute the space between flex item:
.container{
        justify-content:center;
 }

.container > * {
     flex:1;
}
  • By giving each flex-item a max-width:
.container{
justify-content:space-between;
 }

.container > * {
     max-width: value 
}

Keep coding :=)

Marked as helpful

0

@Duyen-codes

Posted

@MojtabaMosavi Hey! thanks for your help. The desire outcome could be that the content inside all 3 flex items, which includes 1 icon, h3 heading and a paragraph, would be in the same line.

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