Submitted over 3 years agoA solution to the Product preview card component challenge
Responsive layout using Flexbox, SCSS (Koala SCSS) and tool : PureRef
sass/scss
LVL 1
@JeremieGenier

Solution retrospective
I got a question about the use of the <Picture> element on the HTML. Everything seems to work just fine, but strangely enough when the browser is resized the <img> inside of it seems to take the full size of it's container and instantly take the size it should take from Flexbox and other CSS properties extremly quickly. It makes the image "flicker" for around a frame. Is there a way ro avoid the flickering effect?
This component was made with Yandex (Chrome based browser).
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Jérémie Génier’s solution.
Join 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