Submitted almost 3 years ago
React Responsive Theme with Styled Components, CSS Grid and CSS Flex
@NikolasMatias
Design comparison
SolutionDesign
Solution retrospective
I'm trying to improve my theme pattern and my responsiveness. I think there are better ways to deal with both but I haven't gotten there yet. Does anyone have any tips?
Community feedback
- @al3xbackPosted almost 3 years ago
Hi Nikolas,
Try to add
object-fit: cover
to your image for better image look. for position image itself can addobject-position
totop
/center
/right
/left
.ex:
img { ... object-fit: cover; object-position: right; }
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