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

Four Card Feature Section using Flexbox

Kitalphar 150

@Kitalphar

Desktop design screenshot for the Four card feature section coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

Made with the help of a video by Kevin Powell, with my own adjustments. I figured i should mention this for the sake of fairness. I found this website thanks to this video.

What challenges did you encounter, and how did you overcome them?

I found the coloured top of the cards to be challenging, in this example the Top border was coloured, but i don't feel like that is the correct method. I like this version so i have not looked for another solution, my best guess would be to maybe float a coloured element on top of the cards.

What specific areas of your project would you like help with?

I suppose my biggest question would be in regards to responsiveness, with how many different screen sizes there are i am unsure how many of them i should be accounting for when writing media queries for example.

Community feedback

MikDra1 5,990

@MikDra1

Posted

Nice one 😀

If you are curious how you can do this straight lines on the top of each card here is my tip:

Create another element in each of the cards. Then position this element absolute. Card should be positioned relative. At the end you need to give this element a height of 3px width of 100% and top 0 and left 0. You can also use ::after or ::before pseudo elements to create these.

Hope you found this comment helpful 💗

Good job and keep going 😁😊😉

Marked as helpful

0

Kitalphar 150

@Kitalphar

Posted

@MikDra1

Thanks for the advice!

Updated it with something....resembling of the design now, tho probably not quite what you meant....

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