Design comparison
SolutionDesign
Solution retrospective
I wanted to try tailwind and the experience was very good, I almost feel guilty because it's like I'm not writing "real css".
The only doubt I have is if there's a way to style the separator (like the one between the ingredients section and the instructions section) with only borders, without using an hr element. Or maybe using an hr is better because it's more semantic?
Community feedback
- @aykinsancakliPosted 9 months ago
Hello @deedeedev
You can use the border-bottom property on sections ⬇️
.section { border-bottom: 0.05rem solid #eee; }
Hope this helps
Cheers,
Aykın
Marked as helpful0
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