var box1 = document.getElementById(“box”);
var box2 = document.getElementById(“boxtop”);
The console.log is in there to track the size as it subtracts over time but it just spits the set height, which is 200px. I got this to work with just opacity on the first try and the console.log displays lesser value overtime. Why wouldn’t work with height? Didn’t think there would be a difference.
Viewing 2 posts - 1 through 2 (of 2 total)