is there anyone to add an overlay using html to make the image darker? I tried using data-overlay=0.6
. However, no effect took place. If it isn't possible, can I do use the below coding?
!-- Slide 1 -->
<li data-index="slide-1" data-transition="fade" data-slotamount="1" data-easein="default" data-easeout="default" data-masterspeed="500" data-rotate="0" data-delay="6000">
<!-- Main image -->
<img class="pic_slide_one" src="media/image/slider/audi-black-car-8639.jpg" alt="slide-1" data-bgfit="cover" data-bgposition="center bottom">
/* Styling and fetching IMG */
.pic_one_slider {
background:linear-gradient(0deg,rgba(0,0,0,0.95),rgba(0,0,0,0.95)),url('media/image/slider/audi-black-car-8639.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}