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

Skilled e-learning landing page solution

@Isaaccna

Desktop design screenshot for the Skilled e-learning landing page coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


I need help to position the image

Community feedback

Gavin 180

@DesignAssembly

Posted

Hi Isaac dont overthink the positioning, there are many ways to solve it. I just used negative margins to position the image. To get consistency in the height of your "cards" usilize css grid or flexbox. I used css grid which gave me the good control over what it is I wanted to achieve.

Happy Coding

0

@phaethon

Posted

I used flexbox with main content and hero image, and then used transform/traslate to move the image out of the flexbox item position to the top and right. One issue with your design is that it does not break at the same time - cards switch to 2 columns before the image is changed to the tablet image. I used large column-gap to prevent this. It then gets changed to desired column gap width at the same break condition when image is changed. Thus columns change from 1 to 2 at the same time as image changes. Hope this helps!

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