8 CSS Scroll Effects

185 阅读1分钟
原文链接: freefrontend.com

8 CSS Scroll Effects

Collection of hand-picked free HTML and CSS scroll effect code examples.

Related Articles

  1. CSS Parallax Effects
  2. jQuery Parallax Plugins and Examples

Author

  • Andrej Sharapov

Made with

  • HTML (Pug) / CSS (SCSS)

About the code

CSS scroll-behavior, scroll-snap-type & mix-blend-mode

The scroll-behavior and scroll-snap-type CSS properties are amazing tools for creating landing pages without using js. Unfortunately, these properties are not yet supported in all browsers.

Compatible browsers: Chrome, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Author

  • Ryan Mulligan

Made with

  • HTML (Pug) / CSS (SCSS)

About the code

CSS Scroll Reveal Sections

Use the clip-path property to create fixed position hero sections.

Compatible browsers: Chrome, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Author

  • Mert Cukuren

Made with

  • HTML / CSS (SCSS) / JavaScript (Babel)

About the code

Simple Scroll Animation

Simple scroll animation in HTML, CSS and JS.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Author

  • Dronca Raul

Made with

  • HTML / CSS (SCSS) / JavaScript (Babel)

About the code

Skew Scrolling Effect

Skew scrolling effect in HTML, CSS and JS.

Compatible browsers: Chrome, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Author

  • magnificode

Made with

  • HTML / CSS (SCSS) / JavaScript (Babel)

About the code

Background and Text Scroll Effect

Super quick idea for a text reveal effect on scroll.

Compatible browsers: Chrome, Firefox, Opera, Safari

Responsive: no

Dependencies: -

Author

  • Quentin Veron

Made with

  • HTML (Pug) / CSS (SCSS)

About the code

One Page Scroll

One page scroll. Not a single line of JavaScript!

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Author

  • David A.

Made with

  • HTML (Pug) / CSS (SCSS) / JavaScript (Babel)

About the code

Intersection Observer

API that can be used to understand the visibility and position of DOM elements relative to a containing element or to the top-level viewport. The position is delivered asynchronously and is useful for understanding the visibility of elements and implementing pre-loading and deferred loading of DOM content.

Compatible browsers: Chrome, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Author

  • Kseso

Made with

  • HTML / CSS

About the code

Scrolling Half by Half

Scrolling half by half in pure CSS.

Compatible browsers: Chrome, Firefox, Opera, Safari

Responsive: yes

Dependencies: -