Design comparison
Solution retrospective
This challenge was quite difficult for me. I haven´t managed to create a small "triangle" under the sharing menu in the desktop layout. Any ideas on how to add it? Any feedback on what I could improve is very welcome!
Community feedback
- @YazdunPosted about 3 years ago
Hi Anna and well done on the challenge, for issue you mentioned, you must use
before
css pseudo selector to add the triangle, something like :.card__share-desktop::before { content: ""; display: block; width: 20px; height: 20px; background-color: var(--dark-grey-blue); position: absolute; bottom: -10px; right: 100px; transform: rotate(45deg); }
also use Prettier extension on your IDE to format your code.
✅ I opened a pull request to your repository which will fix the issue.
I hope this was helpful
Marked as helpful1@annab6Posted about 3 years ago@Yazdun Thanks a lot for your help! I´ve merged the changes that you had done and now I have a nice triangle! And yes, now my code looks "prettier", so I´ve added the extension to my VSCode - it´s very helpful:)
0 - @darryncodesPosted about 3 years agoMarked as helpful1
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