Remove blur on first home slide

This commit is contained in:
vjrj 2018-05-10 22:43:14 +02:00
parent 22534ddb7e
commit 9502ea3604
2 changed files with 5 additions and 5 deletions

View file

@ -211,7 +211,7 @@
background-image: url('/images/home-slide-snd-2.jpg')
}
.webp .carousel-item-1.lazy {
.webp .carousel-item-1 {
background-image: url('/images/home-slide1.webp')
}
@ -227,9 +227,9 @@
background-image: url('/images/home-slide4.webp')
}
.webp .carousel-item-1 {
/* .webp .carousel-item-1 {
background-image: url('/images/home-slide1-blur.webp')
}
} */
.webp .carousel-item-2 {
background-image: url('/images/home-slide2-blur.webp')

View file

@ -43,9 +43,9 @@ class Index extends Component {
const car2 = $('#carouselSndIndicators');
car1.carousel();
car2.carousel();
_.defer(() => {
/* _.defer(() => {
$('#firsthomeslide').addClass('lazy');
});
}); */
const loadLazy = (ev) => {
ev.relatedTarget.classList.add('lazy');
};