title: Is it possible to adjust css scroll-snap speed/easing?
body: <p>I set up CSS Scroll Snap, and I would like to implement easing to it, if possible. Once it snaps to a point, it scrolls too fast. Is there any way to adjust scroll-snap speed/easing using CSS, JavaScript, or an external animation library? My project is an ASP.NET Core 5 MVC web application.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>html, body {
    margin: 0;
    padding: 0;
    scroll-snap-type: y proximity;
  }
  
  .landing-page-content {
    scroll-snap-align: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .landing-page-content h1 {
    color: black;
    margin: 0;
  }
  
  .s1 {
    background-color: red;
  }
  
  .s2 {
    background-color: yellow;
  }
  
  .s3 {
    background-color: blue;
  }
  
  .s4 {
    background-color: green;
  }
  
  .background-image {
    background-image: url(..pathToImage);
    position: absolute;
    top: 0px;
    right: 0px;
    height: 100%;
    width: 100vw;
    background-repeat: no-repeat;
    z-index: -1;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;body&gt;
    &lt;div class="background-image"&gt;&lt;/div&gt;
    &lt;section class="landing-page-content s1"&gt;
      &lt;h1&gt;Section One&lt;/h1&gt;
    &lt;/section&gt;
    &lt;section class="landing-page-content s2"&gt;
      &lt;h1&gt;Section Two&lt;/h1&gt;
    &lt;/section&gt;
    &lt;section class="landing-page-content s3"&gt;
      &lt;h1&gt;Section Three&lt;/h1&gt;
    &lt;/section&gt;
    &lt;section class="landing-page-content s4"&gt;
      &lt;h1&gt;Section Four&lt;/h1&gt;
    &lt;/section&gt;
  &lt;/body&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>I would recommend expanding the snippet to see the effect better.</p>