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