uaveiro-leci/1ano/iei/projeto/js/image.js

7 lines
197 B
JavaScript

function decreaseImage(element){
let height = parseInt(element.style.height) - 10 ;
element.style.height = height+"px";
}
function resetImage(element){
element.style.height = "200px";
}