Collection of free jQuery background examples and plugins: adaptive, fullscreen, change color, video and other

Welcome to our collection of jQuery code examples! In this carefully curated compilation, we have gathered a wide array of code snippets that demonstrate the power and versatility of the jQuery library.

Responsive Animated Triangles Background

Responsive Animated Triangles Background

Author:
Donovan | March 25, 2020
Made with:
HTML / CSS / JS

About a code

The background can be adapted to screen size.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-
jquery.youtube-background

jquery.youtube-background

Author:
Nikola Stamatovic | August 8, 2019
Made with:
HTML / CSS / JS

About a code

Another 100 liner in a form of a jQuery plugin created to facilitate YouTube embeds as a cover background using YouTube Embed API.

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

Adaptive Backgrounds

Author:
Brian Gonzalez | November 16, 2013
Made with:
6373 stars197 watchers

About a code

A simple jQuery plugin to extract the dominant color of an image and apply it to the background of its parent element.

Backstretch

Backstretch

Author:
Scott Robbin | January 20, 2010
Made with:
3910 stars188 watchers

About a code

Backstretch is a simple jQuery plugin that allows you to add a dynamically-resized, slideshow-capable background image to any page or element. The image will stretch to fit the page/element, and will automatically resize as the window/element size changes.

Vide

Vide

Author:
Ilya Caulfield | January 29, 2014
Made with:
3233 stars118 watchers

About a code

Easy as hell jQuery plugin for video backgrounds.

BackgroundCheck

BackgroundCheck

Author:
Kenneth Cachia | September 15, 2013
Made with:
3019 stars83 watchers

About a code

Automatically switch to a darker or a lighter version of an element depending on the brightness of images behind it.

BigVideo

BigVideo

Author:
John Polacek | August 15, 2012
Made with:
2304 stars162 watchers

About a code

The jQuery plugin for big background video (and images).

Particleground

Particleground

Author:
Jonathan Nicol | August 17, 2014
Made with:
1824 stars81 watchers

About a code

A JavaScript (jQuery) plugin for snazzy background particle systems. Includes an optional parallax effect controlled by the mouse on desktop devices and gyroscope on mobile devices. Works in any browser that supports HTML5 canvas.

Vegas

Vegas

Author:
Jay Salvat | May 13, 2011
Made with:
1624 stars89 watchers

About a code

Vegas is a jQuery/Zepto plugin to add beautiful backgrounds and slideshows to DOM elements.

Covervid

Covervid

Author:
Stefan Erickson | May 2, 2014
Made with:
1023 stars33 watchers

About a code

Make your HTML5 video behave like a background cover image with this lightweight Javascript plugin / jQuery extension. CoverVid is very lightweight, with only 800 bytes of Javascripts. It is usable in native Javascript and jQuery. Its' logic is parent based, meaning the parent element can be any size (Not necessarily just a full-screen background).

Background Blur

Background Blur

Author:
Maksim Surguy | July 4, 2015
Made with:
948 stars38 watchers

About a code

Background Blur plugin is a cross browser and ultra light jQuery plugin for blurring images.

jquery.mb.YTPlayer

jquery.mb.YTPlayer

Author:
Matteo Bicocchi | March 12, 2010
Made with:
928 stars52 watchers

About a code

An open source jQuery component to easily build your custom Youtube® player or to use a Youtube® video as background for your page.

MaxImage2

MaxImage2

Author:
Aaron Vanderzwan | November 16, 2011
Made with:
414 stars33 watchers

About a code

MaxImage2 is a fullscreen background slideshow plugin that uses jQuery Cycle plugin for it's slideshow functionality.

Parallaxify

Parallaxify

Author:
Felix Pflaum | June 20, 2013
Made with:
309 stars24 watchers

About a code

Parallaxify is a jQuery plugin that adds parallax effects to elements and backgrounds based on gyroscope sensor (device orientation) data or mouse movement. Due to the recent hype started due to the introduction of a parallax effect in iOS 7, I created a plugin that allows anyone to easily incorporate parallax effects to their websites.

jQuery Ripples Plugin

jQuery Ripples Plugin

Author:
Pim Schreurs | October 15, 2013
Made with:
407 stars29 watchers

About a code

Add a water ripple effect to your background using WebGL.

Waterpipe

Waterpipe

Author:
DragDropSite | May 12, 2014
Made with:
313 stars18 watchers

About a code

Waterpipe.js is a jQuery plugin for smoky backgrounds developed by dragdropsite.com

ColourBrightness.js

ColourBrightness.js

Author:
Jamie Brittain | October 28, 2013
Made with:
153 stars7 watchers

About a code

A lightweight and easy-to-use jQuery plugin that determines if the background colour of an element is light or dark.

JQuery Background Image Scroll

JQuery Background Image Scroll

About a code

A very simple, short, beautiful, and responsive JQuery plugin to scroll background image with page scroll.

ckLine.js

ckLine.js

About a code

Generate random background lines it's great for backgrounds.

Vidbacking

Vidbacking

About a code

This is a small jQuery plugin to simplify the process of showing HTML5 video as background. You can use this for showing a video on whole page background or to show the video as the background of a div, section, like elements.

Simple iOS Parallax Effect

Simple iOS Parallax Effect

About a code

A simple jQuery plugin that reproduces the moving background parallax effect in iOS using only HTML, CSS, and JS.

Parallax Background

Parallax Background

About a code

jQuery parallax background plugin.

ImageR

ImageR

About a code

This jQuery plugin allows you to add data attr to an image tag or element with a background image to supply different sizes images at different brake points. To save bandwidth when viewing on a mobile but supply sharp large images to larger displays.

Full Clip

Full Clip

About a code

This simple plugin does only one thing and it does it well - it creates a responsive full screen body background image by specifying the desired image whether it is a local or remote one. Also, it can create a beautiful background image slideshow by specifying an array of images.

jQuery.mb.VimeoPlayer

jQuery.mb.VimeoPlayer

About a code

An open source jQuery component to easily build your custom Vimeo® player or to use a Vimeo® video as background for your page.

Material Background Generator

Material Background Generator

About a code

A Material Design background generator built in Javascript and CSS, allows a material-based background to be generated using JS.

PhotoFlip

PhotoFlip

About a code

A simple jQuery plugin that allows you to dynamically change the background image of a container or div by just stating the images in an array and the id of the background you want to change.

BackFlip

BackFlip

About a code

A jQuery plugin that allows you to dynamically change the background colors of a container or div.

Vidbg.js

Vidbg.js

About a code

HTML5 jQuery video background plugin.

jQuery Background Video

jQuery Background Video

About a code

Easily improve your HTML5 background videos with a single line of jQuery.

Crosscover

Crosscover

About a code

Carousel of a simple background image using jQuery and animate.css.

Custom Background

Custom Background

About a code

The idea is to let users easily change the background of the website. Users can choose any image or color from the options window to overwrite the default background (set by the developer) of the website. And since the background image or color set is saved in local storage of the browser, the background settings will be retained till the user clears local storage.
Most websites today implement change background theme using server side languages. For e.g. Yahoo Mail, Gmail, Twitter etc. This is not always an easy solution for front end developers and designers. Moreover it kills the performance of the web page.
This plugin is a client side approach for website background customization.

Draggable Background

Draggable Background

About a code

A jQuery plugin to make background images draggable.

mb.bgndGallery

mb.bgndGallery

About a code

A sliding photogallery as background made with jQuery.

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. ✨