📅  最后修改于: 2022-03-11 15:04:33.606000             🧑  作者: Mango
var element = document.querySelector("#post-container");
// smooth scroll to element and align it at the bottom
element.scrollIntoView({ behavior: 'smooth'});