background-position: 0 0
, или на background-position: left top
, или как в вашем случае будет нужноvar tileSlider = $('.tile-slider');
tileSlider.each(function(){
var mySwiper = new Swiper(this, {
loop: true,
nextButton: $(this).parent().find('.tile-slider-next')[0],
prevButton: $(this).parent().find('.tile-slider-prev')[0]
});
});
burger.on('click', function(){
menu.toggleClass('visible')
})
$(document).ready(function(){
var swiper = new Swiper('.swiper-container', {
pagination: '.swiper-pagination',
nextButton: '.swiper-button-next',
prevButton: '.swiper-button-prev',
simulateTouch: false,
paginationClickable: true,
spaceBetween: 30,
centeredSlides: true,
autoplay: 5000,
loop: true,
autoplayDisableOnInteraction: false,
});
owl.owlCarousel({
navigation : false,
singleItem : true,
slideSpeed : 300,
paginationSpeed : 400,
autoPlay: true,
transitionStyle : "fade",
addClassActive : true,
afterAction: function(){
$('p').removeClass('fadeInDown');
$('.active p').addClass('fadeInDown');
}
});