prueba con picture

main
borjarobert 4 years ago
parent 9928085703
commit 82454ba9fc

@ -2,11 +2,16 @@
<div class="slider">
<div class="slider-image">
<img srcset=" slider01-test-500w.jpg 768w,
slider01-test-1108w.jpg 1140w"
sizes=" (max-width: 768px) 768px,
1140px"
src="slider01-test-1108w.jpg" alt="Jóvenes manifestándose" >
<picture>
<source srcset="slider01-test-500w.jpg" media="(max-width: 768px)">
<source srcset="slider01-test-1108w.jpg">
<img srcset="slider01-test-1108w.jpg" alt="Jóvenes manifestándose">
</picture>
<!-- <img srcset="slider01-test-500w.jpg 500w,
slider01-test-1108w.jpg 1108w"
sizes=" (max-width: 768px) 500px,
1108px"
src="slider01-test-1108w.jpg" alt="Jóvenes manifestándose" > -->
</div>
<div class="slider-content">
<div class="slider-title">

Loading…
Cancel
Save