Search

Search Code by entering the text above.
css animations
Falling Stars CSS Animation

falling stars css animation See the Pen Falling Stars by Prasenjit Nayak (@StarKnightt) on CodePen.

10:29 am, February 28, 2024
html
Video different sources on screen sizes video embed html responsive

showing how you can switch video sources depending on the screen width

1:37 am, September 6, 2023
css animations
Animated Triangles on Canvas JS HTML

Cool looking triangles animation using just canvas and js.  Explanation of Code The code starts with the statement 'use strict'; which enables strict mode, a way to introduce better error..

7:00 am, May 26, 2023
HTML Canvas
Instant colour fill with HTML Canvas

Nice site with coloring images art and no ad's. Nice to just draw and color.  https://www.kidzfun.art/  Demo is at https://shaneosullivan.github.io/example-canvas-fill/ , code is at..

11:36 pm, May 23, 2023
javascript
Transform Text into Images using SnapText JS

Note: It seems this only works on node as far as i can tell from testing and its not a scipt you can just embed into a html page.  SnapText 📸 Snap a picture of HTML text Converts HTML text ..

4:48 am, May 21, 2023
CSS Tools
Fancy Border Radius CSS Generator Tool - spin animation keyframes

Tool to generate custom border radius. you too can create blob like objects.  How to use Just generate your border radius, and then copy the following code into a new or existing element. ..

3:30 am, March 25, 2023
CSS Slider
A CSS and HTML Only Carousel Slider

Why is it that sliders and carousels need a bunch of javascript and other css files to get them working? I have seen so many complex sliders with a lot of javascript and libraries that may not even b..

4:21 am, November 19, 2022
sections
section with image to the right text to the left gradient

section with image to the right and text to the left, can be a block on a landing page, easy find and replace the section names with new names to create new class section items.  Preview - Full ..

2:41 am, September 27, 2022
Sections
Two Clickable Logo Promo Box Section Foundation

Just a quick clickable two box section with some logos and radial backgrounds, foundation for grid and responsive action.  Quick demo:

1:03 am, September 7, 2022
HTML CSS Sections
Inline Contact Form Formatting

Responsive inline contact form generic block, replace with your form code and submit, google recapture etc. Usually used on home page or near footer of page.  Stacks the form on mobile screens. ..

4:59 am, August 31, 2022
HTML CSS Sections
Overview full width section in Poppins font with light gray background using foundation

Quick overview full width section code. Lightgray and teal colours on white background. 

1:36 am, August 31, 2022
HTML Sections
Social Header Links easy Drop in Code with Font Awesome Icons

Drop in this code in the header of your site to quickly add some social links in your header. Social Icons in Header This version uses foundation for the grid system. But you can swap this grid..

2:05 am, July 27, 2022
CSS Tips
Create a button with CSS, HTML and Center it!

A nice quick video on how to create a button with css and center it.  Going from a blank html page into a div element with a button in it and then centering the button and giving it some life wi..

1:25 am, June 29, 2022
CSS Text Formatting
Truncate Text to an amount of lines using line-clamp

In a previous post (Truncate your Text with CSS) we truncated some text into a smaller single line element, which can be good for single line items, but what if you had a paragraph or a box of text th..

4:57 am, June 18, 2022
CSS Positions
Item Positioning in CSS

I was just adding the previous post on how to draw a circle in css, when i thought it might also be useful to know how to move these items around. To make more complicated layouts or drawings.  ..

1:33 am, June 14, 2022
CSS Tips
Draw a Circle in CSS

Sometimes you need to go back to the basics. Here we have two nice circle's drawn with css. You can see how we do this below.  How do you draw a circle with css? Add a div element with the cl..

1:19 am, June 14, 2022
Bootstrap 4.2 Kitchen Sink

Here is the full (almost full) collection of bootstrap elements in this kitchen sink code for bootstrap.  Thanks to ycohio for this useful reference. 

12:05 am, June 8, 2022
CSS Frameworks
Make your site look like windows 7

How can i make my website look like Windows 7? You can just add the Windows 7 CSS Framework to your site, and it will look like windows 7. Well almost like it, you will also have to add some custom c..

4:31 am, May 28, 2022
CSS Modal
Floating Modal Message Fixed on the Bottom of the Screen

What is title? With the floating fixed modal code you can attach a message for your website users on the bottom right hand side of the screen. This message will stay over the top of the content due ..

1:13 am, May 18, 2022
CSS Modal
Create a modal with only CSS

and HTML... What is Create a modal with only CSS? Usually when creating a modal you need to use a javascript library or some javascript to show and hide and create the modal element. The following ..

1:43 am, May 14, 2022
CSS Animations
Smooth Scrolling with just CSS

Did you know that you can add smooth scrolling to your page with one line of css? So what is the magic line? scroll-behavior: smooth; Yep thats all you have to add.  Lets add a demo of scro..

1:36 am, April 28, 2022
CSS Animations
Radial Glow under cursor on box hover over effect

What is Radial Glow under cursor on box hover over effect? This code will allow the targeted boxes to have a radial glow effect on mouse over, so when you move your pointer over the box or element th..

12:53 am, April 27, 2022
CSS Animations
Pure CSS 3D Flipping Book with Animations

What is Pure CSS 3D Flipping Book? Pure CSS 3D Flipping Book is a pure CSS and HTML flipping book animation that you can use to display content in a virtual book format. Preview a preview of Pure C..

1:17 am, April 23, 2022
CSS
Create a checkerboard background pattern with CSS

How can you create a diamond checker board background in css and html? One way to create a diamond checkerboard background in CSS and HTML is to use the CSS3 property of "background-size." This prope..

12:40 am, April 11, 2022
Quick CSS
create a border with top triangle in css

Here is a quick css and html code that gives you an element with a triangle on the top left border. Looks a bit like a callout box.  Preview

1:45 am, March 31, 2022
CSS Animations
Single Element CSS Spinners

What is it? Single Element CSS Spinners is a collection of loading animations made in css only, so no need for images or svg or any additional items, just one element added to you html and styled in ..

3:21 am, March 30, 2022
CSS Tips
Why to use a CSS Reset?

What is a CSS Reset? A CSS reset is a statements usually at the top of your style sheet, to reset all the browser defaults so that you can start with a fresh style sheet.  Why do i need a CSS R..

10:41 pm, March 21, 2022
Web Developer Checklists
Front-End Checklist

The Front-End Checklist is an exhaustive list of all elements you need to have / to test before launching your website / HTML page to production. If you want to check your project for the best practi..

10:58 pm, March 20, 2022
Icons
Font Awesome Icons

I have been using this awesome font library for so long now that i almos overlooked it as being such a stable web developer resource for an amazing set of icons and easy to add to your project. Wha..

12:27 am, March 20, 2022
CSS Animation
Animate Stuff with Animate.css

What is Animate.css? Its a css only animation library, just add the css and the classes and your animation needs should be good to go.  Preview a preview of Animate.css What can i use this fo..

10:14 pm, March 15, 2022
Animation
Cloudy spiral animation with CSS3

What is Cloudy spiral animation with CSS3? This is a nice animation that uses CSS3 to transform the <i> tag into an animated spiral. Preview a preview of Cloudy spiral animation with CSS3 Wh..

11:40 pm, March 13, 2022
Notifications
Toast Messages and Notifications Standalone Library no JQuery - notify.js

What is notify.js? This is a small standalone javascript library that allows you to attach toast type messages that appear in the top right corner of your display with selected messages.  Previ..

10:57 pm, March 1, 2022
Image Zoom
Silky Smooth Image Zoom and Lightbox

What is Silky Smooth Image Zoom and Lightbox? This is a nice and small javascript library that adds a image zoom or lightbox effect to your images, with no need for JQuery or any other scripts. ..

10:56 pm, February 28, 2022
css framework
A tiny, modern, responsive, 12-column grid system built using CSS Grid Layout

TB Grid - A tiny, modern, responsive, 12-column grid system built using CSS Grid Layout For less than 2kb of code this can handle your grid layouts. 

11:35 am, February 14, 2022
Loading Animation
Pure CSS Loading Spinner

If you are tired of using an animated gif or loading the whole font awesome library just to get an animated loader image then this is the css library for you.  Just include the following CSS and..

10:41 pm, February 7, 2022
css animated
CSS animation toolkit AnimXYZ for HTML React and Vue

What is AnimXYZ? AnimXYZ helps you create, customize, and compose animations for your website. Powered by CSS variables to allow a nearly limitless number of unique animations without writing a singl..

1:07 am, January 18, 2022
css framework
simple.css a nice simple and stylish framework replacement

What is simple.css? Simple CSS is a framework that you can just drop into your site, and it styles the actual html elements, so no class names are required for this out of the box, just add the scrip..

11:56 am, January 17, 2022
image effects
Lightweight and powerful image lightbox and previewer script

Lightweight and powerful javascript image preview plug-in, silky animation allows you to elegantly preview the images in your website. Out of the box, you don't need extra configuration (by default) o..

11:02 pm, December 30, 2021
image effects
zoomist.js: Library for easy Image Zoom & Pan

What is zoomist.js? zoomist is a javascript library that adds some nice zoom controls to your selected image. Rather than popping out the image in a modal or some other kind of overlay it adds contro..

5:41 am, December 29, 2021
Content Slider
Keen-Slider the free library agnostic touch slider

What is Keen Slider? A Image slider or image carousel, or actually content slider that works without the dependency of JQuery or anyother base library, so it can run standalone. It also works well wi..

5:41 am, December 13, 2021
Parallax
Atropos Stunning touch-friendly 3D parallax hover effects

Atropos Atropos is a lightweight, free and open-source JavaScript library to create stunning touch-friendly 3D parallax hover effects. Preview Features Touch Friendly: Atro..

10:25 pm, December 2, 2021
Navigation
WCAG Responsive Accessible Menu Dropdown Library

What is WCAG Responsive Accessible Menu? Here we have a javascript library with css and html that produces a responsive and mobile compatible dropdown navigation system. When the screen size goes int..

1:30 am, December 2, 2021
Content Slider
Slider Show - a standalone object and image slider

What is Slider Show ? Slider Show is a standalone image carousel and slider. You can add text and images into each item and the number of the slide, and it will switch between them. This library..

12:05 am, December 1, 2021
Modals
Micro Modal a tiny animated light accessible modal script

What is Micro Modal? Micro Modal is a Tiny, dependency-free javascript library for creating accessible modal dialogs The aim of this library is to make modal dialogs accessible and easy to include i..

11:45 pm, November 28, 2021
css
The New CSS Reset

What is The New CSS Reset? I remeber the time when i used to use something like this to reset the browser CSS to nothing and then start building my styles. CSS *,html,body { margin:0; padding:0; bo..

11:41 am, November 23, 2021
Cookie Alerts
Easy Cookie Consent Modal Popup Window

A lightweight & gdpr compliant cookie consent plugin written in plain javascript. An "all-in-one" solution which also allows you to write your cookie policy inside it without t..

11:29 am, November 15, 2021
Navigation
Responsive Mobile Bootstrap 4 Animated Rounded Navbar

What is it? An Animated Bootstrap based navigation with font awesome icons What can i use this for? This navigation works on mobile and desktop browsers for a nice twist to your navigation needs.&n..

2:32 am, November 13, 2021
UI
Neumorphic Analog Clock

Here is a working Neumorphic Analog Clock from here. Gif Example:

12:57 am, November 9, 2021
Animations
Drop Shadow Rotation on Card Element

What is it? A Card element with a rotating drop shadow animation with colour changes.  What can i use this for? You could use this animation to add some character to your own elements. Conc..

1:02 am, October 25, 2021
animations
Amazing Stripe Website Gradient Animation

What is it? An animated background using javascript html and css to achieve.  What can i use this for? You could use is on the background in your website, or maybe on a hero type image.  ..

5:55 am, October 15, 2021
css framework
Punica pure CSS Framework

Punica CSS is a clean, lightweight, responsive, modern and fully customizable (even class names) pure CSS Framework based on SASS/SCSS with multi-theme support. What is Punica? Pu..

5:15 am, October 11, 2021
Lightbox
Lightbox for Bootstrap 5

A pure JavaScript Bootstrap 5 lightbox that supports images, galleries, YouTube, Vimeo, and Instagram—built around Bootstrap's Modal and Carousel plugins. Have you been using Lightbox for ..

5:34 am, October 8, 2021
timeline
Vertical Timeline in CSS and HTML Only no javascript

Description This is a vertical timeline with alternating left and right items, crossing over with the date and the time line item. The great thing about this timeline is that it does not require any ..

5:16 am, October 6, 2021
Buttons
Animated Success Button with Confetti

What is Animated Success Button with Confetti? This is a success button, well an action button that has a loading function as well as a success message and confetti when clicked, all contained within..

8:51 am, October 4, 2021
Animations
Sun Reflection CSS and HTML Only

What is Sun Reflection CSS and HTML Only? This is a sun with an animated reflection done using css and html only What can i use this for? This could be modified to add some interest to a logo, or o..

7:09 am, October 1, 2021
UI
Project Management Dashboard UI Elements

Very slick Project management dashboard, showing some amazing UI Elements. Features Dark and Light Mode Listing Modes, in grid vs list Client Messages Popout section This is all in pure h..

6:54 am, September 29, 2021
404 Pages
404 Lost in Space Animated

An interesting take on a 404 error not found page with a space theme. 

3:32 am, September 25, 2021
Background Effects
Glass Effect using backdrop filter element in css

shows how you can add a frosted glass effect to your element using the backdrop-filter: blur(5px) i think the issue with backdrop filter is that is is not supported by a few browsers.  Checking..

6:48 am, September 24, 2021
Animations
Sea Waves Ripple Effects 3D in HTML, CSS and Javascript

An example using three js to create some 3D waves simulation, its like looking at a lava lamp. Or one of those games from 10 years ago... 

6:30 am, September 21, 2021
forms
Login form with floating placeholder text and very animated bright submit button

Here is a login form with animation around the submit button and as you mouse over it the button glows like a crazy nut! Also notice that the placeholder text floats over the input fields and when yo..

6:48 am, September 20, 2021
UI
Neumorphic UI Element Examples

Here is a very slick example of Neumorphic ui elements, with some active examples.  Credits Codepen, Maria M. Muñoz

6:56 am, September 14, 2021
Content Slider
Image slider with multiple controls and mobile swipe control

A snazzy looking image and content slider, with some nice content animations. Using GSAP for the animations, no JQuery required for this slider. 

1:39 am, September 13, 2021
animations
CSS Waves Footer Styling or Hero Element

CSS and HTML only version of CSS Waves

4:25 am, September 11, 2021
backgrounds
Pure CSS Gradient Background Animation

this animated background element can give your project a bit more life, with a nive subtle background gradient changing effect that cycles slowly between the selected colours. 

1:02 am, September 9, 2021
Design
Glassmorphism Creative Cloud App Redesign

A full ui for Creative Cloud redesigned in html css and javascript, amazing work by Aysenur Turk. It even has responsive views, dark and light mode, and the tabs are functional. 

12:17 am, September 9, 2021
Profiles
Profile Card Hover Effect

Nice zoom and move effect on profile mouse over. 

7:00 am, September 8, 2021
footers
CSS Goey footer red blotched gloopy footer animation

Here we have an interesting animation added to the bottom of the footer area making it look kinda like its on fire, or paint glooping up from it. Nice effect, not sure where i would use this one, but ..

6:23 am, September 7, 2021
Navigation
Animated Tab Bar

A very stylish and animated tab bar navigation with reveal text once the icon is clicked.  Demo of Menu Items being Activated Credits Designed by: Hoang NguyenAuthor: abxlfazlOriginal image:..

6:41 am, September 6, 2021
forms
Card Form Design, Very Slick and Rounded

A very cool looking form design here also using vue.js.  As you type in the details the animated card fills in. Also as you select each element it will show you on the demo card which one is sel..

3:20 am, September 4, 2021
scroll effects
Scroll Trigger Parallax Clouds Snow

Another example of smooth animations using GSAP and Scroll Trigger.  Good for scroll page animations. I cant get this one working correctly in the demo code, you will need to check out the pen ..

3:08 am, September 4, 2021
Boxes
Card Hover Interaction Examples

Do you have boxes on your home page that need some new interactions.. Well go no further than these shiney boxes! :)  Thanks to Ryan Mulligan for this code pen. Slightly tweaked and compiled t..

6:28 am, September 3, 2021
Mouse Effects
Slide on Mouse Hover Over Effect

a very funky mouse in and out transition to the link. hmm this breaks my demo, i will have to investigate this.  So anyway i like this effect, but its not that useful to have all of your H1 l..

7:03 am, September 1, 2021
Parallax
Parallax scroll animation

Found this awesome animation on codepen, link below, Not sure how re-usable it is, but wow!

6:52 am, August 31, 2021
show your work
Contact Form with Wide Hero Image using Responsive Block CSS and HTML

About this Content Block This is a piece i did a little while ago, but i will re-create it for this post Basically what we are creating here today is a wide and padded section of a home page with ..

3:15 am, August 28, 2021
CSS & Javascript
CSS & Javascript implementation for multiselect html control

Description this multiselect html control allows the user to click on the dropdown and select multiple items out of this list. there is also a control that allows selection of all the items in the ..

9:35 am, August 25, 2021
javascript
Vanilla JS Center Mode Carousel

Here we have a sliding center mode carousel gallery made with css & vanilla js. This carousel is good if you need to keep your content up front and in the middle of the display. It can handle ima..

12:07 pm, August 23, 2021
html
adding a favicon to css bundle

I noticed as soon as i set this site up that it was missing a favicon. What is a favicon? Its this little icon up the top of the browser tab.  see how there is a little globe icon on there, ..

4:32 am, August 19, 2021
Welcome to CSSBundle.com

Hi there and welcome to CSSBundle. Here at CSS Bundle we aim to find the best css and javascript bundles and demos and add them here to make them easy to find all in one place.

If you would like to stay up to date with our latest updates you can subscribe to our mailing list where we will send you one email per week with the latest updates, no spam emails just the latest updates.

Random Quote


Latest Code
css animations Falling Stars CSS Animation html Video different sources on screen sizes video embed html responsive css animations Animated Triangles on Canvas JS HTML HTML Canvas Instant colour fill with HTML Canvas javascript Transform Text into Images using SnapText JS CSS Tools Fancy Border Radius CSS Generator Tool - spin animation keyframes CSS Tools CSS Drop Filter Shadow Creator CSS Slider A CSS and HTML Only Carousel Slider CSS Z-Index Z-Index Code Front - CSS to change z-index when element is active sections section with image to the right text to the left gradient Sections Two Clickable Logo Promo Box Section Foundation HTML CSS Sections Inline Contact Form Formatting HTML CSS Sections Overview full width section in Poppins font with light gray background using foundation Interactive Images Map Image with Easy Dots and Titles using only CSS HTML Sections Social Header Links easy Drop in Code with Font Awesome Icons Sections Responsive Friendly Subscribe to our Newsletter Section CSS Tips Create a button with CSS, HTML and Center it! CSS Text Formatting Truncate Text to an amount of lines using line-clamp CSS Positions Item Positioning in CSS CSS Tips Draw a Circle in CSS css animations Magical Text Effect Bootstrap 4.2 Kitchen Sink CSS Frameworks Make your site look like windows 7 CSS Backgrounds Fancy up your banner image hero sections using overlay gradients CSS Modal Floating Modal Message Fixed on the Bottom of the Screen CSS Modal Create a modal with only CSS css grid display items in a css grid CSS Text Effects Using the selection selector to change the default highlight color Text Truncate your Text with CSS CSS Cursors Change your cursor into an Emoji Cursor or Image Cursor CSS How to Center Everything or Anything with CSS CSS Animations Smooth Scrolling with just CSS CSS Animations Radial Glow under cursor on box hover over effect CSS Shadows Using a filter drop shadow for transparent images CSS Animations Pure CSS 3D Flipping Book with Animations CSS Create a checkerboard background pattern with CSS CSS Animations button animations hover and fill animation CSS Animations button on focus swing animation CSS Animations Animated Button Border when Active Quick CSS create a border with top triangle in css CSS Animations Single Element CSS Spinners CSS Animations CSS Shake - Shake up your elements CSS Framework NES-style(8bit-like) CSS Framework CSS Tips Why to use a CSS Reset? Web Developer Checklists Front-End Checklist Icons Font Awesome Icons CSS Animation Animate Stuff with Animate.css CSS Animations Check Wave Click a Checkbox and Watch the Animation Animation Cloudy spiral animation with CSS3 Notifications Toast Messages and Notifications Standalone Library no JQuery - notify.js