Design comparison
SolutionDesign
Solution retrospective
I don't know how to add gradient color to border in tailwind css.Any suggestion would be appreciated
Community feedback
- @hafizanadliPosted over 3 years ago
- There is no direct way to add gradient color to border in tailwindcss. You can try making the card like this https://css-tricks.com/gradient-borders-in-css/ so you can add the border radius like the design
- the card design is pretty similar, so you better make reusable component instead of write it one by one in app.js
- for theme switcher you can make it with darkmode feature in tailwind https://tailwindcss.com/docs/dark-mode
Marked as helpful0@rajesh0406Posted about 3 years ago@hafizanadli Thank you so much .I'll definitely take into account .Appreciate it!
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