Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>Адаптивное изображение</title>
- </head>
- <body>
- <picture>
- <source srcset="img1-480w.jpg" media="(max-width: 799px)">
- <source srcset="img1-800w.jpg" media="(min-width: 800px)">
- <img src="img1-800w.jpg" alt="">
- </picture>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement