Design comparison
Solution retrospective
It took hours to figure out how to "merge" a social share popup with a tiny triangle to form a kind of a speech bubble. I resisted temptation to simply use Adobe Illustrator to create an appropriate bubble shape. In the end, I used "display: flex" and aligned them to center, but I believe there must be more sophisticated way.
Community feedback
- @AdrianoEscarabotePosted about 1 month ago
Hello K, how are you? I was really pleased with your project, but I’d like to offer some advice that might help:
Consider using
rem
for font size .If your web content font sizes are set in absolute units, such as pixels, the user will not be able to re-size the text or control the font size based on their needs. Relative units “stretch” according to the screen size and/or user’s preferred font size, and work on a large range of devices.if you want to continue coding with
px
, you can download a very useful extension in vscode, it convertspx
torem
!link -> px to rem
The rest is spot on.
Hope it’s helpful to you. 👍
Marked as helpful1@lilythelilyPosted about 1 month ago@AdrianoEscarabote Thank you very much for your valuable advice! Yes, I will definitely try to use rem instead of px from now on. It was a bit intimidating for me to use rem or em, because I was not quite sure if I can intuitively set sizes with those units, but I will use the extension you suggested. Thanks again🙏!
1
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