Frontend-mentor-project: four-card-feature-section-master
Design comparison
Solution retrospective
I’m proud of the responsiveness and clean code structure. Next time, I’ll focus on refining my work even more.
What challenges did you encounter, and how did you overcome them?I had never created a design like this before, so it was only my second or third time using .box:first-child properties and similar techniques. I overcame this by researching and experimenting with different methods.
What specific areas of your project would you like help with?I’m open to advice on enhancing the project’s performance and optimization, improving accessibility features, and ensuring cross-browser compatibility. Any suggestions on how to make the code more efficient or user-friendly would also be greatly appreciated.
Community feedback
- @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@IhdirPosted 2 months ago@MikDra1 Thanks so much for the tip! 🙌 Adding straight lines to the top of each card is a great way to enhance the design. I’ll definitely try using absolutely positioned elements or pseudo-elements to achieve that effect. I appreciate the advice and will keep it in mind for future projects! 😊
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