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

7 lines
197 B
JavaScript
Raw Normal View History

2023-01-11 18:05:31 +00:00
function decreaseImage(element){
let height = parseInt(element.style.height) - 10 ;
element.style.height = height+"px";
}
function resetImage(element){
element.style.height = "200px";
}