mirror of
https://github.com/beer-o-matic/beer-o-matic.github.io.git
synced 2024-10-03 17:39:41 +03:00
13 lines
284 B
JavaScript
13 lines
284 B
JavaScript
var main = function(){
|
|
$('.can').hover(function() {
|
|
$(this).children('.highlight').toggle();
|
|
$('.can').css('top', '-309');
|
|
$(this).css('top', '-150');
|
|
|
|
}, function() {
|
|
$(this).children('.highlight').toggle();
|
|
$('.can').css('top', '-150');
|
|
});
|
|
};
|
|
|
|
$(document).ready(main); |