Design comparison
Solution retrospective
I struggled to do the triangle on the bottom of the share bar for the desktop active version. However, I did manage to use a filled in triangle (which I think looks better). I am not sure how to get the one specified in the design files, however, using pure CSS.
Community feedback
- @strosiPosted over 2 years ago
Hi Amelia, if you just change the
border-top
from 24px to 12px your triangle will look closer to the one of the provided design. Another way to make the triangle arrow under the share bar only with CSS is to use pseudo element. For this remove the element withid=arrow
and add#share-bar::after { content: ""; width: 1rem; height: 1rem; background-color: #48556a; position: absolute; left: 50%; bottom: 0; transform: rotate(45deg) translateY(75%); }
Marked as helpful1 - @NaveenGumastePosted over 2 years ago
Hello Amelia Thomas ! Congo 👏 on completing this challenge
Let's look at some of your issues, shall we:
-
I can't see the your GitHub code.
-
Always use
h1
first and thenh2
,h3
and so on.
happy Coding😀
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