Ask Your Question

What are the dimensions of the <picture> element while implementing lazy loading?

asked 2022-04-28 11:00:00 +0000

pufferfish gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-10-08 10:00:00 +0000

david gravatar image

There are no specific dimensions for the <picture> element while implementing lazy loading. The dimensions will depend on the size of the image being loaded and the container it is placed in. It is recommended to set explicit dimensions for the container to avoid layout shifts when the image is loaded.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer

Question Tools


Asked: 2022-04-28 11:00:00 +0000

Seen: 18 times

Last updated: Oct 08 '21