title: How https://router.vuejs.org/ achieve native search with smooth scroll scrolling?
body: <p>Please use Chrome to visit the site <a href="https://router.vuejs.org/" rel="nofollow noreferrer">https://router.vuejs.org/</a></p>
  <p>And hit <code>command-f</code> to search <code>Getting Started</code></p>
  <p>Normally, the Chrome browser will directly jump to the searched text.</p>
  <p>However, instead of directly jumping to the searched text, this site can smooth scroll to the search text.</p>
  <p>How is this possible?</p>
  <p>How can I achieve the same effect?</p>