Design comparison
Solution retrospective
How to practice box-shadow don't know I'm not satisfy for my box-shadow. And in media queries for mobile what usually use 768 px or 328px ?
Community feedback
- @DavidMorgadePosted over 2 years ago
Hello and congrats finishing the challenge!
To answer your question about media query sizes, the breakpoints usually are:
Mobile
min-width: 375px
Tabletmin-width: 768px
Desktopmin-width: 1440px
Hope my feedback helps you!
Marked as helpful1@troy03Posted over 2 years agoand last question if I am correct that max width will use that container will be no longer larger and min width is to avoid shrinking a content
0@DavidMorgadePosted over 2 years ago@troy03 max width means that the styles will be until that width is reached, and min width means that the styles will start at that desired width.
Normally you use one of the two, using both at the same time can be hard to mantain in larger CSS files.
Marked as helpful0 - @correlucasPosted over 2 years ago
👾Hello Troy, congratulations for your solution!
Answering your question:
The best way ever to improve box-shadows is by creating these shadows using a software as Figma/Adobe XD/Sketch because you can create the box-shadow visual playing with the values and just drop the code inside the CSS sheet.
The two aspects a box-shadow should have to look smooth is a low
opacity
and good amount ofblur
.If you're not familiar to Figma/Adobe XD/Sketch you can use some online tools to create the shadow and just copy its code. Here's one good online tool for box-shadows:
https://www.cssmatic.com/box-shadow
Hope it helps and happy coding!
Marked as helpful1@troy03Posted over 2 years ago@correlucas Thanks for the feedback and thanks for suggestion especially to a website you provide
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