CSS DEMONSTRATIONS
Photo galleries
- Avatar Parade
Simple image display using :hover.
- What's on TV
Another method of displaying images using :hover.
- A photograph gallery
A photo gallery using thumbnail images.
- A photograph gallery - with links
20-02-2009
A photo gallery using thumbnail images and linking to large images.
- A photograph gallery - using <object>
06-06-2009
A photo gallery using the object element.
- A mixed gallery - using <object>
22-06-2009
A mixed gallery using the object element.
- Photo Gallery Mk.II
A photo gallery with horizontal scrolling.
- A gallery using :target
25-11-2011
A gallery using :target with no browser window jump and no cycling back though the image using the 'back' button.
- A film strip scrolling gallery
29-06-2009
A three stage image gallery using negative/positive thumbnails, landscape/portrait images and descriptive text.
- A film strip scrolling gallery
30-06-2009
As the previous demo but in a vertical format
- Vertical Slide Gallery
16-06-2009
A photo gallery with vertical scrolling.
- Zoom effect gallery
28-08-2009
A photo gallery with a hover zoom effect.
- Sliding photo-galleries
Compressed images that expand on :hover.
- Two step photo-gallery
Hover for medium size image and click for full size.
- Click gallery for slow connections
Click to produce full size images.
- Multi-page photo gallery
Multiple pages of images using :hover and click.
- Multi-page photo gallery MK.2
Another version of above.
- Multi-page photo gallery MK.3
Another variation of the one above.
- Cross browser CSS slide show
A method of displaying portrait and landscape images.
- CSS play - 'Slideshow'
13-01-2010
A 'click' Slideshow compatible with Safari(PC) and Chrome.
- CSS play - 'Hover/Click Slideshow'
18-03-2011
A 'hover/click' Slideshow with animation.
- CSS play - 'Checkbox Gallery'
14-02-2014
A CSS gallery with permanent image changes, zoom toggle, and captions.
- Simple CSS photo-album
31-07-2006
A simple method of displaying images.
- An art gallery
02-08-2006
A catalogued art gallery.
- Another slide show
27-08-2006
A three step slide show.
- A clipped gallery
11-11-2006
A gallery using the 'clip' style.
- Gallery 100
23-12-2006
A gallery of 100 images.
- Simple slideshow
26-02-2007
A simple slideshow
- Complex slideshow
02-03-2007
A more complex slideshow
- Photo Strip Gallery
30-03-2007
Photo Strip Gallery
- Photo Scroll Gallery
01-04-2007
Photo Scroll Gallery
- Simplest Photo Gallery
15-04-2007
The simplest possible gallery
- Not so Simple Photo Gallery
08-03-2008
Not so simple gallery
- Sliding list gallery
18-12-2007
A sliding list photo gallery
- Sliding list click gallery
11-02-2008
A sliding list click photo gallery
- Click gallery with permanent images
27-09-2009
A method of having a click gallery where the images stay on screen.
- Click gallery with permanent images v2
25-11-2009
A method of having a gallery with descriptive text using previous/next navigation.
- Click gallery with permanent images v3
26-11-2009
A method of having a gallery with descriptive text using previous/next image previews.
- Click gallery with permanent images v4
28-11-2009
A method of having a gallery with descriptive text and a left/right sliding set of thumbnail images.
- Click gallery with permanent images v5
30-11-2009
A method of having a gallery with descriptive text and a up/down sliding set of thumbnail images.
- Click gallery with permanent images v6 - NO JUMP
16-11-2011
A permanent image gallery without the jump to top of window.
- Click gallery with permanent images v7
21-06-2012
A permanent image gallery without using :target, iframes, objects and javascript.
- Click gallery with permanent images v8
22-06-2012
Another permanent image gallery without using :target, iframes, objects and javascript.
- Click gallery with zoom and flyout
16-10-2012
A permanent image gallery with a zoom and flyout action
- A gallery with permanent images
27-06-2012
A permanent image gallery using just :hover
- A gallery with permanent images v2
28-06-2012
A permanent image gallery using just :hover - version 2
- A CSS gallery by numbers
10-11-2009
A CSS gallery using a set of numbers and a hover/click state.
- CSS play - Clickbox
08-01-2010
CSS play 'Clickbox', the CSS answer to 'Lightbox'
- Using CSS play - Clickbox
11-01-2010
A practical example of CSS play 'Clickbox', the CSS answer to 'Lightbox'
- CSS playBOX
31-05-2010
CSS playBOX - The Ultimate CSS Lightbox
- CSS playBOX v2
01-06-2010
CSS playBOX v2 - The Ultimate CSS Lightbox with additional features
- cssplayBox
12-04-2011
An update to the previous lightboxes with animation
- oneBox
27-05-2011
Using :before/:after and content: to produce a lightbox with minimal code.
- html5 oneBox
20-10-2011
The oneBox lightbox re-coded and styled to make use of html5 'tabindex' and :focus.
- Cssplay - radioBox - lightbox
26-06-2012
The html5-oneBox brought up to date with CSS play's latest techniques.
- Content:100
30-05-2011
Using :before/:after and content: to produce a gallery of 100 images.
- Content: gallery
30-04-2012
The previous gallery updated for the iPad etc and now with captions.
- CSS play Slide Show
27-07-2012
A CSS slide show with permanent image changes.
- CSS play Rotary Slide Show
30-07-2012
A CSS rotary slide show with permanent image changes.
- CSS play Dragonfly Slide Show
06-08-2012
A CSS Dragonfly slide show with permanent image changes.
- CSS play Swipe Slide Show
15-08-2012
A CSS Swipe Left/Right slide show with permanent image changes.
- CSS play The BIG Slide
20-08-2012
A CSS full screen slide show with permanent image changes.
- CSS play The BIG Slide version 1.1
30-11-2013
Version 1.1 of the previous Big Slide slideshow.
- CSS play STU'slide
24-08-2012
A CSS multi function slide show with permanent image changes.
- CSS play Radar Gallery
31-08-2012
A CSS radar swipe action slide show with permanent image changes.
- CSS play STU'slide version 2
26-09-2012
A CSS multi function slide show with permanent image changes - version 2.
- CSS play thumbnail gallery with reflow
26-11-2012
A CSS thumbnail image gallery with reflow of thumbnails when viewing the large images
- CSS play anysize gallery
28-11-2012
A CSS gallery for images of different sizes
- CSS play anysize gallery version 2
29-11-2012
A CSS gallery for images of different sizes
- CSS play thumbnail slideshow
30-11-2012
A CSS slideshow using PHP to generate thumbnails and code
- CSS play stacking slideshow
30-12-2012
A CSS 3D animated stacking slideshow
- CSS play rotating information panels
14-10-2013
A method to rotate a set of information panels using just CSS3
- CSS play animated 3D cube gallery
19-01-2013
A CSS 3D animated cube gallery for IE10
- CSS play auto play v2» 13-10-2014
An update to the responsive CSS only slideshow with auto play option.
- CSS basic auto play» 14-10-2014
A basic responsive auto play slideshow.
- CSS responsive auto play» 15-10-2014
A responsive left/right auto play slideshow.
- CSS responsive slideshow» 18-10-2014
A responsive left/right slideshow with wrap around.
- CSS play 'GO Slide' Slide Show
11-08-2012
A CSS ONLY Slide Show that shows the power of CSS.
- A CSS ONLY Light Box
06-03-2009
A Light Box style gallery using CSS
- A CSS CLICK Light Box
06-03-2009
A Light Box style gallery 'click' version
- CSS play Auto-run Full Screen Slideshow
30-11-2013
A CSS full screen auto run slideshow with zoom effect and captions.
- CSS play EasySlide» 20-06-2014
EasySlide - A Responsive - easy to setup - CSS only slideshow
- CSS play EasySlide Remix» 30-06-2014
EasySlide - A Responsive - easy to setup - CSS only slideshow for images of different sizes
- CSS play auto play» 10-10-2014
A Responsive CSS only slideshow with auto play option.
- Foreground image slideshow
02-06-2015
A simple responsive fullscreen foreground image 'cover' and 'contain' slideshow using just CSS
- CSS play Responsive keyframe slideshow» 02-11-2015
A responsive keyframe slideshow with different images for PC, tablet and mobiles.
- CSS only full page gallery
26-02-2016
A responsive full page slideshow with thumbnail images for touch screen, trackpad and mouse.
CSS3 demonstrations
- CSS3 Photo Slide
27-01-2010
CSS3 styling to produce a left/right slide show
- CSS3 Zoom Gallery
27-01-2010
CSS3 styling to produce a zoom/fade photo gallery
- CSS3 Buttons
27-01-2010
CSS3 styling to buttons with no graphics and no extra markup.
- CSS3 Photo Info
27-01-2010
CSS3 styling to have an information panel slide up over an image.
- CSS3 Photo Info v2
28-02-2014
Bringing the previous demo up to date using the latest techniques.
- CSS Image Information Panels
25-03-2011
CSS3 styling to produce Image Information Panels with slide animation.
- CSS3 Animation
01-02-2010
CSS3 styling to animate a series of image frames.
- CSS3 Can Roll
02-02-2010
CSS3 styling to animate and apply a curved overlay.
- CSS3 Duff Roll
03-02-2010
CSS3 styling to continuously animate and apply a curved overlay.
- CSS3 Parallax scrolling
03-02-2010
CSS3 styling to continuously animate a parallax scrolling demo.
- CSS3 3D Spheres
06-02-2010
CSS3 styling to produce 3D Spheres without using any graphics.
- CSS Borders, Shadows and Gradients
07-03-2014
Using simple code with borders, shadows and radial gradients to produce graphics.
- CSS3 Zoom
09-02-2010
Using Safari webkit keyframes to produce and infinite zoom-in effect.
- CSS3 Auto-run Slideshow
10-02-2010
Using Safari webkit keyframes to produce and an auto-run slideshow with slide action and pause control - NO javascript.
- CSS3 Auto-run Slideshows
14-09-2011
Using transitions and keyframes with step() to produce three types of auto-run slideshows
- CSS3 Digital Timer
11-02-2010
Using Safari webkit keyframes to produce and an auto-run digital timer.
- CSS3 Analogue Clock
11-02-2010
Using Safari webkit keyframes to produce and an auto-run analogue clock.
- CSS3 Marquee
16-02-2010
Using Safari webkit keyframes to produce and an auto-run interactive marquee.
- CSS3 Marquee #2
14-05-2012
Using keyframes to produce and an auto-run interactive marquee with start delay.
- CSS3 Animated cubes
19-02-2010
Using Safari webkit keyframes to produce a set of never ending sliding cubes.
- CSS3 Click Gallery
21-02-2010
Using CSS3 general sibling selector to produce a left/right click gallery.
- CSS3 Clickbox Gallery
23-02-2010
Using CSS3 adjacent sibling selector to produce a Clickbox Gallery.
- CSS3 Click Slideshow
31-03-2010
Using CSS3 adjacent sibling selector to produce a Click Slideshow.
- CSS3 Sliced Rollover
25-04-2010
Using CSS3 to produce a sliced image rollover with delay.
- CSS3 Image Enlarger
26-04-2010
Using CSS3 to produce a smooth image enlarger.
- CSS3 Enhanced Photo Gallery
08-08-2010
Using CSS3 to enhance a simple Photograph Gallery.
- CSS3 Enhanced Picture Gallery
14-08-2010
Using CSS3 to enhance a simple Picture Gallery.
- CSS3 Animated Slideshow
22-11-2010
Using CSS3 to enhance a slideshow.
- CSS3 Click Slide Gallery
17-01-2011
Using CSS3 to produce a slide up/down gallery.
- CSS3 Rotate Enlarge Gallery
21-01-2011
Using CSS3 to produce a sliding rotating enlarging slideshow.
- CSS3 Hover-to-run Slideshow
24-01-2011
Using CSS3 to produce hover-to-run slideshow.
- CSS3 3D Rotating Card
22-02-2011
Using CSS3 to produce a 3D rotation Card (Safari ONLY).
- CSS3 Carousel Slideshow
25-02-2011
Using CSS3 to produce Carousel Slideshow.
- CSS3 Carousel Slideshow 'Click version'
11-03-2011
Using CSS3 to produce Carousel Slideshow now with a click action.
- CSS3 3D Billboard
01-03-2011
Using CSS3 with perspective to produce a 3D three image billboard.
- CSS3 3D Carousel of Slides
01-03-2011
Using CSS3 with perspective to produce a 3D Carousel of Slides.
- CSS3 3D Book
02-03-2011
Using CSS3 with perspective to produce a 3D Book.
- CSS3 Stacked Slideshow
20-03-2011
Using CSS3 to produce an animated stacked slideshow.
- CSS3 Stacked Slideshow version 2
25-04-2012
Using CSS3 to produce an animated stacked slideshow, version 2.
- CSS3 Stacked Slideshow version3
27-06-2012
A Stacked Slideshow with accessibility.
- CSS3 Sliding Panels
18-04-2011
Using CSS3 to produce a sliding set of information panels.
- CSS3 Page Flip
15-05-2011
Using CSS3 to produce page flip animation.
- CSS3 Page Flip v2
17-05-2011
Another page flip animation with a twist.
- CSS3 Page Flip Gallery
17-05-2011
Using the page flip process to produce a stacked gallery of images.
- CSS3 Page Flip Book
19-05-2011
Using the page flip process to produce a book.
- CSS3 Page Flip Book v2
05-12-2012
Using the page flip process to produce a book - version 2.
- CSS3 Resize
20-05-2011
Demonstration using the CSS3 'resize' styling.
- CSS3 Keyframe Gallery
18-06-2011
CSS3 Keyframe Gallery for Firefox 5, Safari and Chrome.
- CSS3 Keyframe 'Lightbox' Gallery
24-06-2011
CSS3 Keyframe 'Lightbox' Gallery for Firefox 5, Safari and Chrome.
- CSS3 Meowww!
26-06-2011
Using only CSS/CSS3 to draw and animate a cat meowing, for Firefox 5, Safari and Chrome.
- CSS3 Reflections
01-07-2011
Using CSS/SVG to produce 'reflections' for Firefox 5 as well as a CSS version for Safari and Chrome.
- CSS3 Reflections v2
08-02-2013
Using just CSS to produce image reflections on a solid background color.
- CSS3 Left/Right Slide Gallery
09-08-2011
Using CSS3 transitions to produce a slideshow with animation.
- CSS3 Left/Right Click Gallery
04-11-2011
Using CSS3 transitions to produce a left/right slideshow with animation.
- CSS3 Left/Right Click Gallery Permanent
25-06-2012
Using CSS3 transitions to produce a left/right slideshow with animation and permanent image changes.
- CSS3 Left/Right Click Gallery #2
05-11-2011
Using CSS3 transitions to produce a left/right slideshow with animation #2.
- CSS3 Left/Right Click Panels #3
06-11-2011
Using CSS3 transitions to produce left/right information panels with animation #3.
- CSS3 Zoooom Images
08-11-2011
Using CSS3 to gradient zoom animate a set of thumbnail images.
- CSSplay Image Rotation
12-11-2011
Using CSS3 to rotate a set of images.
- CSSplay Circle Slideshow
14-11-2011
Using CSS3 to rotate a set of thumbnail images and show a large image with just the click of a button.
- CSSplay Grid Accordion
16-11-2011
Using CSS3 to produce a grid of thumbnails which expand on hover.
- CSSplay Grid Accordion v2
17-11-2011
Using CSS3 to produce a grid of thumbnails which expand on click and stay permanent.
- CSSplay Flexbox Gallery
04-03-2014
An accordion gallery using the latest 'flexbox' styling.
- CSS3 Tabs
18-09-2011
CSS3 tabs with inner and outer radii and fade out borders.
- CSSplay Mickey Mouse Gallery
20-11-2011
A CSS only Gallery with all the features of a jQuery/javascript gallery.
- CSSplay Any Size Gallery
21-11-2011
A CSS only Gallery for images of any size.
- CSSplay starLIGHT lightbox
23-11-2011
A CSS lightbox with PREVIOUS/NEXT, captions with links and CLOSE button.
- CSSplay zoomBox Slideshow
28-11-2011
A CSS Slideshow with thumbnails sets, PREVIOUS/NEXT and captions with links.
- CSSplay Grid Zoom
27-02-2012
A set of images on a grid with hover/zoom and adjacent image partial zoom.
- CSSplay Rotary Gallery
07-03-2012
A photo gallery with captions and permanent image changes
- CSSplay Spinning Box
07-03-2012
A spinning 3D box with rotating faces
- CSSplay Sliding Boxes
08-03-2012
A set of six 3D box with sliding and spinning in a never ending pattern
- CSSplay 3D truncated icosahedron
14-03-2012
A complex 3D animated truncated icosahedron
- CSSplay 3D Sphere
17-03-2012
A 3D rotating Beach Ball
- CSSplay 3D Runners
22-03-2012
A group of three 3D 'stick men' runners
- CSSplay 3D Planets and Moon
21-05-2012
Three planets and the moon animated
- CSSplay 3D Dymaxion Map
24-05-2012
Mapping the Earth's surface onto an icosahedron
- CSSplay 3D Dymaxion Map Animation for IE10
14-01-2013
Mapping the Earth's surface onto an icosahedron working in IE10
- CSSplay Pie Chart
30-06-2012
A CSS ONLY pie chart using no images
- CSSplay Before and After Image Slider
10-10-2012
A CSS ONLY Slider to show before and after images with 'hold' feature
- CSSplay Before and After Image Slider v2
11-10-2012
Version 2 of the CSS ONLY Slider to show before and after images. For IE7+
- CSSplay Space Invader
22-10-2012
A CSS3 animated space invader using no images.
- CSSplay Animated Sprites
25-10-2012
CSS3 animated sprites using no images.
- CSSplay Random Heroes
26-10-2012
CSS3 animated sprites using no images based on the game of 'Random Heroes.
- CSSplay 3D Cube Animation for IE10
11-01-2013
Just to show how difficult it is to produce and animate a cube in IE10
- CSSplay 3D Animated Gallery - Challenge
23-01-2013
A rotating 3D gallery and a challenge to get it working in IE10
- CSSplay 3D Spinning Boxes
25-01-2013
A set of six boxes that spin on their own axis and about a central axis for IE10
- CSSplay Fly In/Out Gallery
01-02-2013
A gallery with animated fly-in and fly-out image changes, suitable for all modern browsers.
- CSSplay Holiday 2013 Photo Gallery
15-03-2013
A few of the photos taken on a holiday to New Zealand, Australia and Singapore
- CSSplay Holiday 2013 Slide Show
13-06-2013
Another method of displaying sets of photographs. For all modern browsers.
- CSSplay Oh So Simple Slide Show
18-06-2013
A simple left/right slideshow with preview panels and captions. For all modern browsers.
- CSSplay Conversion Slide Show
20-06-2013
A conversion of a jQuery/javascript slide show into a CSS only version.
- CSSplay Flip Photo Gallery
28-11-2013
A 3D flip card photo gallery for all modern browsers.
- CSSplay 'loading' animation
27-02-2014
A CSS only 'loading' animation with no extra markup.
- CSSplay Perspective modelling
10-03-2014
3D perspective modelling without using 'transform-style: preserve-3d;'.
- CSSplay 3D 360 degree modelling
11-03-2014
3D 360 degree modelling without using 'transform-style: preserve-3d;'.
- CSSplay 3D 360 degree modelling v2
11-03-2014
3D 360 degree modelling using 'transform-style: preserve-3d;'.
- CSSplay 3D Stormtrooper
12-03-2014
3D Stormtrooper cube animation.
- CSSplay 3D Astro Boy
13-03-2014
3D Astro Boy cube animation.
- CSSplay 3D Sphere
13-03-2014
3D Eyeball animation.
- CSSplay 3D Swan Lake
19-03-2014
3D animation of swan with reflection and ripples.
- CSSplay Filter Gallery
04-04-2014
A photograph gallery using css filters with transition effects.
- CSSplay Awesome Icons
09-04-2014
CSS styling of 'Awesome Icons' using CSS.
- Tracking images with CSS shape
03-08-2015
Using CSS 'shape' to have text follow the shape of images.
- Emulating shape-inside
10-08-2015
Using CSS 'shape-outside' to emulate shape-inside with fixed positioning.
- Animating CSS shapes
14-08-2015
Showing how CSS shapes can be animated.
- CSS 'shape' slideshow
17-08-2015
Applying @keyframe animation to CSS shapes to produce an autorun slideshow.
- CSS 'shape' slideshow version 2
26-08-2015
Applying @keyframe animation to CSS shapes to produce an autorun slideshow, version 2.
- CSS only swipe action gallery
23-02-2016
A responsive slideshow with thumbnail images that can be swiped with momentum, for touch screen and trackpad.
- CSS only swipe action gallery v2
24-02-2016
A responsive slideshow with thumbnail images that can be swiped with momentum, for touch screen, trackpad and mouse.
- CSS 'slinky' animation
04-03-2016
A responsive 3D 'slinky' animation for all the latest PC browsers. Buggy on iPhone and iPad.
The above is an index of all my css demonstrations which range from the very simple to the more bizarre and advanced.
These demonstrations all work in the latest versions of the most popular browsers but cannot be guaranteed to work in older browser version or some of the lesser known browsers. I am unable to test on Mac browsers so if you want to use any of my demonstration ideas on a Mac then you should check that it works on your particular platform / browser combination.
For these demonstrations to work in ie please make sure that you are using a standards compliant doctype as the first line of your code. A list of the recommended DTDs can be found at the following link:
Recommended DTDs to use in your Web document.
Copyright
Most of my demonstrations can be used without asking for permission. However, some will require email approval first. Just check each page for the copyright requirements before use.
If you are having problems integrating any of my demonstrations into your website then I now offer a service to fault find and correct any errors that you may have introduced. Please email me for more information.