Submitted over 3 years ago
Article Preview Component using Media Queries, and Flex-box
@shake88junt
Design comparison
SolutionDesign
Solution retrospective
My css file is really bloated, had to end up doing lots of tinkering around to make it work in the end.
Specifically, using fixed heights/margins/padding to absolutely position my "share popups".
Furthermore, I had to find a solution for displaying my "share popups". I opted to use inline css display:"none"
and javascript to change the lnline css to display:"flex"
.
I had used media queries to hide the mobile "share popup" on desktop (vice-versa).
To do this I used display:"none" !important;
Community feedback
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