Clone Project

html <picture> element in Webflow

Created by
Ayk Martirosyan
Similar Projects
Oops! Something went wrong while submitting the form.

0 Comments

Be the first to leave a comment.
Loading
User is typing...
No Name
Set
4 years ago
Moderator
This is the actual comment. It's can be long or short. And must contain only text information.
(Edited)
No Name
Set
2 years ago
Moderator
This is the actual comment. It's can be long or short. And must contain only text information.
(Edited)
Load More
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Load More
Description:  
Description from Webflow:  
Sometimes you want to use different images for the same section/element in different breakpoints. For example, a landscape image for the desktop breakpoint, and a portrait image for the mobile breakpoint. There are two solutions to this problem. The first solution is to adjust the image wrapper size and set the image to cover the wrapper. The second solution is to use an html `<picture>` element where you can specify images for any breakpoints you want. Until now, Webflow didn’t support the `<picture>` element. Now we can use the custom DOM element and use it as a <picture>. Blog post: https://www.maray.ai/posts/html-picture-element-in-webflow
Tags from Webflow: 
.