У меня есть фоновое изображение слайдер. Я хочу, чтобы слайд-изображения были очень плавным.скользящие изображения в фоновом режиме
body {
/* Location of the image */
background-image: url(images/BACKGROUND1.jpg);
/* Image is centered vertically and horizontally at all times */
background-position: center center;
/* Image doesn't repeat */
background-repeat: no-repeat;
/* Makes the image fixed in the viewport so that it doesn't move when
the content height is greater than the image height */
background-attachment: fixed;
/* This is what makes the background image rescale based on its container's size */
background-size: cover;
/* Pick a solid background color that will be displayed while the background image is loading */
background-color:#464646;
/* SHORTHAND CSS NOTATION
* background: url(background-photo.jpg) center center cover no-repeat fixed;
*/
background-position:0px 33px;
}
/* For mobile devices */
@media only screen and (max-width: 767px) {
body {
/* The file size of this background image is 93% smaller
* to improve page load speed on mobile internet connections */
background-image: url(images/BACKGROUND1.jpg);
}
}
#b1 { background-image: url(images/BACKGROUND1.jpg); }
#b2 { background-image: url(images/BACKGROUND2 .jpg); }
#b3 { background-image: url(images/BACKGROUND3.jpg); }
#b4 { background-image: url(images/BACKGROUND4.jpg); }
#b5 { background-image: url(images/BACKGROUND1.jpg); }
#b6 { background-image: url(images/BACKGROUND2.jpg); }
#b7 { background-image: url(images/BACKGROUND3.jpg); }
#b8 { background-image: url(images/BACKGROUND4.jpg); }
#b9 { background-image: url(images/BACKGROUND3.jpg); }
#b10 { background-image: url(images/BACKGROUND1.jpg); }
<html>
<a href="#">next/</a>
<a href="#">previuous/</a>
</body>
</html>
Я хочу сменить фоновое изображение на клик. Я не эксперт в JavaScript. Может кто-нибудь мне помочь?