My website features a hero section with a background image and a title. The image size is 1920x500px.
https://i.sstatic.net/4zUY2.jpg
<section class="bgimage d-flex align-items-center " style="background-image:linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.5)),url(https://mikulas.web87.hu/images/site_background/7304-1.jpg)">
<div class="container">
<div class="row">
<div class="col text-center">
<h1 class="bgimage_title text-white">Rendelés menete</h1>
<!--<p class="bgimage_text text-white"></p>-->
</div>
</div>
</div>
</section>
Although everything looks good on a full hd monitor, the image doesn't display well on small devices like mobiles. Therefore, I am considering changing the image for better compatibility.
Feel free to visit my page for reference:
<ul class="bxslider"><li>
<picture>
<source media="(max-width: 991px)" srcset="https://mikulas.web87.hu/images/homepage_slideshow/18-1.jpg" />
<source media="(min-width: 992px)" srcset="https://mikulas.web87.hu/images/homepage_slideshow/300-1.jpg" />
<img src="https://mikulas.web87.hu/images/homepage_slideshow/300-1.jpg" alt="" />
</picture>
</li></ul>
I have searched for sample codes but couldn't find any that provided different images for comparison.