Animated Backgrounds

Explore a collection of free HTML, CSS, and JavaScript animated background code examples to add dynamic and engaging backgrounds to your website.

CSS Only Pattern Animation

Author:
Temani Afif | August 13, 2022
Made with:
HTML / CSS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Gradient Background with Waves

Author:
Bárbara Rodríguez | July 25, 2022
Made with:
HTML / CSS

About a code

Gradient background with some waves on the bottom of the page. If you want a different background for you website or app this is a simple way.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Blurred Animated Gradients

Author:
Wil van der Tuin | June 11, 2022
Made with:
HTML / CSS (SCSS)

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Bubble Background Animation

Author:
Diyorbek Olimov | August 21, 2021
Made with:
HTML / CSS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Hexagon Background with 0 HTML

Author:
Temani Afif | July 19, 2021
Made with:
HTML / CSS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

CSS linear-gradient Animations

Author:
Ryan Mulligan | November 6, 2020
Made with:
HTML / CSS

About a code

Animating a stack of linear-gradients.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Floating Color Orbs

Author:
Alison Quaglia | July 19, 2020
Made with:
HTML / CSS (SCSS)

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Shooting Star

Author:
alphardex | June 23, 2020
Made with:
HTML / CSS (SCSS)

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Bubble Float

Author:
alphardex | June 16, 2020
Made with:
HTML / CSS (SCSS)

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Falling Leaves CSS Animation

Author:
Casthra Demosthene | October 2, 2019
Made with:
HTML / CSS

About a code

October falling leaves CSS animation CSS no JavaScript.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Noise Background

Author:
Mathieu S. | September 27, 2019
Made with:
HTML / CSS

About a code

CSS only animated static noise background.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Pattern Animation (Infinite)

Author:
Adam Abundis | September 27, 2019
Made with:
HTML / CSS

About a code

Used Flexbox to vertically and horizontally center text. Used keyframes to set an infinite scroll.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Only CSS: Warning

Author:
Yusuke Nakaya | May 17, 2019
Made with:
HTML (Pug) / CSS (SCSS)

About a code

Stripe background.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Cool Mountain Background

Author:
Igor Milenkovic | February 15, 2019
Made with:
HTML / CSS (Less)

About a code

Cool mountain background with animations - slightly responsive.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Animated Ripples Background

Author:
Vaibhav Arora | January 1, 2019
Made with:
HTML (Haml) / CSS

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

Infinite SVG Triangle Fusion

Author:
Rob DiMarzo | December 16, 2018
Made with:
HTML (Pug) / CSS (SCSS)

Compatible browsers:
Chrome, Firefox, Opera, Safari
Dependencies:
-

2kb Total Size SVG Animation

Author:
Ksenia Kondrashova | December 12, 2018
Made with:
HTML / CSS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Animated CSS Mask-Image Gradient

Author:
Chris Neale | December 9, 2018
Made with:
HTML / CSS (SCSS) / JavaScript (Babel)

Compatible browsers:
Chrome, Firefox, Opera, Safari
Dependencies:
-

CSS Fireflies

Author:
Mike Golus | December 6, 2018
Made with:
HTML (Pug) / CSS (Sass)

About a code

An elegant HTML/CSS only solution for adding a tranquil fireflies effect to you page.

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

Pure CSS Particle Animation

Author:
Takeshi Kano | September 21, 2018
Made with:
HTML (Pug) / CSS (SCSS)

About a code

CSS particle animation without JavaScript. The most important point is random movement of particles. The vignetting was created by mask-image property.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Pure CSS Twinkling Stars Background

Author:
Anastasia Goodwin | May 22, 2018
Made with:
HTML / CSS (SCSS)

About a code

Subtle twinkling stars and moving clouds animation using only CSS.

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

Background Effect

Author:
osorina irina | February 25, 2018
Made with:
HTML / CSS (Sass)

About a code

HTML and CSS background effect.

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

Pure CSS Animated Background

Author:
Mohammad Abdul Mohaiman | February 25, 2018
Made with:
HTML / CSS

About a code

Pure CSS animated background.

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

Sliding Diagonals Background Effect

Author:
Chris Smith | August 4, 2017
Made with:
HTML / CSS

About a code

An animated background under the content.

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

Background Animation

Author:
Bjorn | December 7, 2016
Made with:
HTML (Pug) / CSS (SCSS)

About a code

HTML and CSS background animation.

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

Discover Our Extensive Snippet Library

This heading suggests that your website provides a wide variety of snippets across different technologies, encouraging users to explore and use these resources for their development projects.

HTML Snippets.

Explore a collection of HTML snippets designed to streamline your web development process. From basic structures to complex elements.

CSS Snippets.

Discover powerful CSS snippets that help you style your web pages with ease. Whether you need layout solutions, animations

JavaScript Snippets.

Enhance your website's interactivity with our JavaScript snippets. From DOM manipulation to advanced algorithms

Bootstrap Snippets.

Leverage the power of Bootstrap with our collection of snippets. Quickly integrate responsive design components

Tailwind Snippets.

Speed up your development process with Tailwind CSS snippets. These utility-first CSS snippets enable you to

jQuery Snippets.

Simplify your JavaScript development with jQuery snippets. Easily perform common tasks like event handling, animations

React Snippets.

Build robust, component-based user interfaces with our React snippets. From state management to lifecycle methods,

Vue Snippets.

Streamline Vue.js development with our collection of snippets for creating components, managing state, and handling events.

Ready to set your Brand ablaze?

Let's craft a visual identity that ignites passion and loyalty. ✨