sizes | Specifies image sizes for different page layouts |
Example:
HTML
<picture>
<source srcset="https://horje.com/avatar.png 120w,
https://horje.com/avatar.png 193w,
https://horje.com/avatar.png 278w"
sizes="(max-width: 710px) 120px,
(max-width: 991px) 193px,
278px">
<img src="https://horje.com/avatar.png" alt="Gust">
</picture>
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded by: | Admin |