Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
Made with:
- HTML ๐ฆด
- SCSS ๐๏ธ
- JS ๐ค
- mobile-first approach ๐ฒ๐ฒ
- autoprefixer for browser compatibility ๐งญ
- minified files for better performance ๐
Community feedback
- @rupali317Posted 5 months ago
Hi @kodan96, Fantastic work on this challenge. It is amazing to see how you incorporate various elements in the notch.
I ran your site on Safari and I noticed a white rectangle around your phone. It is because of using
outline: 2px solid #fff
. Unfortunately, in Safari the outline appears to be a rectangle. Instead of outline you can usebox-shadow: 0px 0px 0px 2px #fff;
Since you are using different values for box-shadow, you can combine more than 1 box-shadow values in 1 property like this:
box-shadow: 0px 0px 0px 2px #fff, 5px 5px 15px rgba(0,0,0,.3);
Let me know if this works
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