3
Hello my dear programmers friends of this our Brazil!
I need your help on the following question:
I have a button that when pressed changes the display from a div to block. So:
CSS
#form-pergunta {
display: none;
}
Javascript
function obj(x) {
return document.getElementById(x);
}
function ApertarBotao() {
obj("form-pergunta").style.display = "block";
}
Ai I call the function Aperture() there in HTML with onclick...
I wonder how to animate this display change... like... make the form-question div slowly appear from top to bottom.
Top to bottom?
– Miguel