prueba con picture

main
borjarobert 4 years ago
parent 9928085703
commit 82454ba9fc

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

Loading…
Cancel
Save