Creating a CSS Thumbnail Grid With a Dynamic Flyout Menu
When presenting data in a grid you often lose the ability to include extra information. Aside from appending dynamic menus or hover effects there is very little room to include metadata on each item. I want to use this tutorial as a thought process into the user experience of image thumbnail grids.
We will create a small flyout menu holding additional information on the image. This includes the image name, original source URL, and author URL. The beauty of this example is that we will be creating the dynamic effect using only CSS3 properties. Mostly all standards-compliant browsers will support dynamic CSS3 animations and these look fantastic! But even without animations, the flyout content will still work properly and degrade naturally for an all-around enjoyable user experience.
Crafting the Document
To get started we need to create a single HTML5 document which behaves as our index page. I have included a copy of the Google Webfonts CSS which adds the Kavoon font family to our selection. This will be applied onto the header text for a showy design. Also if the user is on Internet Explorer 8 or earlier then we include the HTML5shiv document for good measure.
01 02 03 04 05 06 07 08 09 10 11 | <! doctype html> < html lang = "en-US" > < head > < meta http-equiv = "Content-Type" content = "text/html;charset=utf-8" > < title >Thumbnail Gallery with CSS Flyouts</ title > < meta name = "author" content = "Jake Rocheleau" > < link rel = "stylesheet" type = "text/css" href = "styles.css" > </ head > |
This will ensure any newer HTML5 elements like
or