Design comparison
Solution retrospective
I got through the challenge. Learning and understanding flexbox and grid was not as easy as I expected
What challenges did you encounter, and how did you overcome them?Got down the exact design as per the challenge but I had to refer a video by Kevin Powell.
What specific areas of your project would you like help with?How to better use flexbox, grid and also with the semantics of CSS coding. Some of the code that I have seen and the code that I write are very different. The naming convention, use of various classes, where to use classes etc. If someone can provide resource on the above please do.
Community feedback
- @MikDra1Posted 2 months ago
As you have rounded corners on the cards the border-top property also gets rounded. The design shows that this border shouldn't be rounded and that's why you should try this method I showed you. 😁
Marked as helpful1 - @MikDra1Posted 2 months ago
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 helpful1@vknirPosted 2 months ago@MikDra1 thanks for the advice, if it is possible can you give me an example to refer as I am unable to understand. Anything will be appreciated
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