Design comparison
SolutionDesign
Solution retrospective
I am struggling with the linear gradient on Instagram account detail. Any suggestions to fix this would be appreciated!
Community feedback
- @nakoyawilsonPosted over 2 years ago
I found this article from CSS Tricks helpful for the linear gradient for the Instagram card: Gradient Borders in CSS. Based on the article I don't think it's possible to use linear gradient with the border property so instead I used a pseudo element, made the background of the pseudo element the linear gradient and positioned it.
Marked as helpful1@nakoyawilsonPosted over 2 years ago@soyed You're welcome! When you try, let me know if it works for you.
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