Such a question, there is a link, clicking on it from the bottom opens a new block (hidden_content), but opens "sharply", how can you establish the smoothness of the opening?
<script> function toggle(el) { el.style.display = (el.style.display == 'none') ? '' : 'none' } </script> <a onclick="toggle(hidden_content)"><h1 class="hidden">Ссылка</h1></a> <div id="hidden_content" style="display: none;"> контент (открывающийся блок) </div>