uaveiro-leci/1ano/1semestre/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";
}