Add files via upload

This commit is contained in:
Sergey 2019-08-21 11:44:07 +03:00 committed by GitHub
parent 511aa26f67
commit 099a381eb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 53 additions and 41 deletions

View File

@ -56,4 +56,16 @@ $('.partners').owlCarousel({
} }
}); });
// Partner Cards // Partner Cards
// ...code const itemsPartner = document.querySelectorAll('.item-partner');
itemsPartner.forEach((partner) => {
partner.addEventListener('mouseover', () => {
const partnerInfo = partner.querySelector('.partner-info');
partnerInfo.style.display = 'block';
partnerInfo.classList.add('fade');
partner.addEventListener('mouseout', () => {
const partnerInfo = partner.querySelector('.partner-info');
partnerInfo.style.display = 'none';
partnerInfo.classList.remove('fade');
});
});
});

File diff suppressed because one or more lines are too long