Replies: 2 comments 1 reply
-
Adding |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have responsive images in cards, which are wrapped in
d-flex
. On bigger screens it is 2 cards per row, on smaller screens wraps to 1 card per row. When page is loading, the first image loads to 90% of the screen, then jumps to its right position of 50% of the screen. While other cards first appear very narrow with white squares.How can such jumps be avoided?
(Preserve page structure. First image should take 50% of the page when page loads.)
I also introduced loading very light blurry images first using CSS, but it did not resolve the issue entirely.
Code for the initial
d-flex
card
structure (first 2 cards):Beta Was this translation helpful? Give feedback.
All reactions