A curated collection of free 35+ HTML and CSS stacked card code snippets for web designers, developers, and UI/UX creatives. Each item is free and carefully hand-picked from GitHub and CodePen.

1. GSAP for HTML5: A Card Stacking Demo


Author: Daniel Kemper
Source: Code / Demo
Created on: SEPTEMBER 8, 2014
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS, JavaScript

2. Stacked Cards


Author: Prasanna Pegu
Source: Code / Demo
Created on: JUNE 16, 2015
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(Less), JavaScript

3. Swipable Stacked Cards – Planning Vacations


Author: Bruno Marcelino
Source: Code / Demo
Created on: MARCH 8, 2018
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS, JavaScript

4. Switching stacked cards


Author: Johan van Tongeren
Source: Code / Demo
Created on: OCTOBER 31, 2012
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS

5. Stacked Cards


Author: Glen Cheney
Source:   Code / Demo
Created on: March 25, 2014
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: TML(Pug), CSS(SCSS), Javascript

6. Mouse Hover Card Stack


Author: Eric Mahoney
Source:   Code / Demo
Created on: November 15, 2020
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS

7. Overlapping Sushi Cards


Author: Will Boyd
Source:   Code / Demo
Created on: June 09, 2020
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS

8. Comment Stacked Card Animation


Author: Shaw @shshaw
Source:   Code / Demo
Created on: May 14, 2016
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(Less), JavaScript

9. Card flip


Author: Pete Nawara
Source:   Code / Demo
Created on: January 22, 2013
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML(Haml), CSS(SASS)

10. 8 skills Google looks for in its managers


Author: Justin Hill
Source:   Code / Demo
Created on: February 17, 2016
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(Less), JavaScript

11. Stacked Cards


Author: adebiyi adedotun
Source:   Code / Demo
Created on: April 30, 2019
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS

12. Card Stack


Author: Lane Olson
Source:   Code / Demo
Created on: May 31, 2013
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(Less), JavaScript

13. Rainbow Stacked Accordion Animation


Author: Sarah Fossheim
Source:   Code / Demo
Created on: March 8, 2020
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS

14. The Scattering Cards


Author: Jon Beebe
Source:   Code /  Demo
Created on: March 31, 2014
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML(Haml), CSS(SCSS), JavaScript

15. Flash Cards


Author: Jon Kantner @jkantner
Source:   Code / Demo
Created on: December 30, 2015
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML(Haml), CSS(SASS), JavaScript

16.  Pure CSS – Sticky-Stacked Cards


Author: Nils Binder @enbee81
Source:   Code / Demo
Created on: July 24, 2020
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS

17. Stacking Cards


Author: Bramus @bramus
Source:   Code / Demo
Created on: February 17, 2021
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS, JavaScript

18. Hearthstone Style Card Hover


Author: Jack Rugile
Source:   Code / Demo
Created on: September 22, 2017
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML(Haml), CSS(SCSS)

19. Stacked Cards: Horizontal


Author: Robin Rendle
Source:   Code / Demo
Created on: August 09, 2020
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(SCSS)

20. Cards Against Developer


Author: Jhey
Source:   Code / Demo
Created on: April 15, 2020
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML(Pug), CSS(Stylus)

21. Tinder Swipe Cards


Author: Rob Vermeer
Source:   Code / Demo
Created on: November 26, 2017
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS, JavaScript

22. CSS Stack Card Slider


Author: Bilal.Rizwaan
Source:   Code / Demo
Created on: August 24, 2020
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS, JavaScript

23. Stacked Cards


Author: Arron
Source:   Code / Demo
Created on: April 10, 2019
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML(Pug), CSS(SCSS), JavaScript

24. Animated Card Stacks


Author: Chris Hutchinson
Source:   Code / Demo
Created on: May 24, 2014
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML(Pug), CSS(SCSS), JavaScript

25.  Stacked Rainbow Cards


Author: Sarah Fossheim
Source:   Code / Demo
Created on: March 8, 2020
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS

26. Cards Against Developers


Author: Jhey
Source:   Code / Demo
Created on: April 15, 2020
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML(Pug), CSS(Stylus)

27. Movable Stacked Card Row in CSS


Author: Sergey
Source:   Code / Demo
Created on: March 19, 2020
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(SCSS)

28. Tricks Card Carousel


Author: William Goldsworthy
Source:   Code / Demo
Created on: March 26, 2019
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS

29. Stacked Cards Concept


Author: Silvestar Bistrović
Source:   Code / Demo
Created on: April 09,2020
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML(Pug), CSS(SCSS), JavaScript(Babel)

30. Stacked Card


Author: Joann
Source:  Code / Demo
Created on: July 8, 2020
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS

31. Card Stack Animation


Author: Brandon Ward
Source:   Code / Demo
Created on: April 12, 2017
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(SCSS), JavaScrpit

32. Tariff Cards


Author: Jesús Castro
Source:   Code / Demo
Created on: July 11, 2018
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(SCSS)

33. Stacked Cards Smooth Show on Hover


Author: Zed Dash @z-
Source:   Code / Demo
Created on: May 16, 2023
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML(Pug), CSS( Stylus)

34.  Stacking Cards


Author: Mikael Ainalem
Source:   Code / Demo
Created on: March 05, 2021
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS, JavaScript

35. Stacked Cards Hover Effects


Author: Kyle Brumm
Source:   Code / Demo
Created on: March 23, 2017
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(SCSS)

36.  Stacked Cards


Author: Maarten
Source:   Code / Demo
Created on: March 20, 2018
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(SCSS), JavaScript