blog-contributions/assets/js/hover.zoom.conf.js

42 lines
1.1 KiB
JavaScript
Raw Normal View History

2024-05-02 09:54:49 +02:00
$(function() {
$('.blue').hoverZoom({
overlayColor: '#3498db',
zoom: 0
});
$('.green').hoverZoom({
overlayColor: '#1abc9c',
zoom: 0
});
$('.pink').hoverZoom({
overlayColor: '#bd2e75',
zoom: 0
});
$('.black').hoverZoom({
overlayColor: '#2f2f2f',
zoom: 0
});
$('.alizarin').hoverZoom({
overlayColor: '#e74c3c',
zoom: 0
});
/* USAGE
$('#pink').hoverZoom({
overlay: true, // false to turn off (default true)
overlayColor: '#2e9dbd', // overlay background color
overlayOpacity: 0.7, // overlay opacity
zoom: 25, // amount to zoom (px)
speed: 300 // speed of the hover
});
*/
});