Collection of hand-picked free HTML and CSS panel code examples from CodePen, GitHub, and other resources. Update of February 2021 collection. Four new items.
Links
Made with
- HTML / CSS
About a code
Tekken Characters Cards
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Responsive: no
Dependencies: -
Links
Made with
- HTML / CSS
About a code
Rounded Edges Sliding Panels
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Responsive: no
Dependencies: -
Links
Made with
- HTML / CSS
About a code
Zig-Zag Sliding Panels (CSS Grid)
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Responsive: yes
Dependencies: -
Links
Made with
- HTML / CSS / JS
About a code
Reflection
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Responsive: no
Dependencies: gsap.js

Links
Made with
- HTML / CSS
About a code
Higher Contrast Panels On Patterned Backgrounds
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Responsive: yes
Dependencies: -
Links
Made with
- HTML / CSS
About a code
Panel Animation
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Responsive: yes
Dependencies: bootstrap.css, font-awesome.css
Links
Made with
- HTML / CSS (SCSS)
About a code
Budging Bars
CSS-only line bar navigation.
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Responsive: yes
Dependencies: -
Made with
- HTML / CSS
About the code
Expanding Sections
Expanding sections on hover.
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Responsive: yes
Dependencies: -
Made with
- HTML (Pug) / CSS (SCSS)
About the code
Expanding Panels
Responsive flexbox
expanding panels.
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Responsive: yes
Dependencies: -


Links
Made with
- HTML / CSS (SCSS) / JavaScript (Babel)
About the code
Panel Switch Interaction
Panel switch interaction with flexbox and JS.
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Dependencies: -

Links
Made with
- HTML / CSS (Less)
About the code
Full-Width Panel Expansion
A CSS only expanding panel gallery with CSS vars to progressively enhance with animation.
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Dependencies: -


Links
Made with
- HTML / CSS / JavaScript
About the code
Flex Panels
This boxes resize when clicked. Try to click more than one and see what happens.
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Dependencies: -
Made with
- HTML (Pug) / CSS (Sass)
About the code
Pure CSS Hover
Pure CSS hover panels.
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Responsive: yes
Dependencies: -

Links
Made with
- HTML / CSS (Less)
About the code
Multiple Sliding Panels
Sliding panels around to give greater emphasis to the active panel. Uses only CSS :hover
states with transform
/opacity
transitions for maximum performance.
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Dependencies: -


Links
Made with
- HTML / CSS (Less)
About the code
CSS-only Sliding Panels Using Transforms
Sliding panels around to give greater emphasis to the active panel. Uses only CSS :hover
states with transform
/opacity
transitions for maximum performance. Responsively switches to a stacked layout on smaller screens, or by using the .panels--stacked
class.
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Dependencies: -

Links
Made with
- HTML (Pug) / CSS (SCSS)
About the code
Skewed Flexbox Panels
Experimenting with skew transforms applied to a series of flexbox panels. Switches the flex-direction
to columns for smaller screen sizes.
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Dependencies: -


Links
Made with
- HTML / CSS (Less)
About the code
Pure CSS Panels
This is an example of onepage panels navigation made with only CSS.
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Dependencies: -


Links
Made with
- HTML / CSS (Stylus) / JavaScript
About the code
Dual Sliding Panels
Dual sliding panels with awesome CSS animations. Built with Stylus and vanilla JavaScript. Be sure to checkout the responsive view
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Dependencies: -