Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/benschwarz/gallery-css

CSS only Gallery
https://github.com/benschwarz/gallery-css

Last synced: about 1 month ago
JSON representation

CSS only Gallery

Awesome Lists containing this project

README

        

# Gallery.css

Gallery.css is *all* CSS. Think: Simple, maintainable and understandable galleries without the use of Javascript.

_What? No script!? Why?_ — Gallery css started as an experiment to build interactive, fluid componentry without the need for jQuery, or a jQuery carousel script. Use this library, or don't — either way, hopefully you'll learn from the techniques used within.

## Installation

The preferred method to install gallery-css is by using Bower, a package manager for front-end components.

`bower install gallery-css`

Otherwise, if you want to keep it simple, check the [dist directory](/dist).

## Getting started

You've got a couple options with how you'd like to use gallery.css:

* Without autoplaying animation
* With autoplaying animation
* With or without browser prefixes

Read the [getting started guide](http://benschwarz.github.io/gallery-css#getting-started), or checkout the [examples](/examples)

## How does it work?

[![Gallery CSS screencast: Building advanced web componentry using only CSS](http://0.germanforblack.com/poster.png_20130506_153359.jpg)](http://benschwarz.github.io/gallery-css)

I've [prepared a screencast](http://benschwarz.github.io/gallery-css) that will take you through how to build something like Gallery-css from scratch, theres tonnes of tiny details that I learnt myself while building it. Its $15, you'll learn and it'll help me keep building for the web. How good is that?

## Browser support



Safari
Firefox
Chrome
IE8
IE9
IE10







✖†



† [Absolutely possible](examples/ie-8) using a variety of JS selector shims, although not recommended.

## Build instructions

Gallery CSS is built using [grunt](http://gruntjs.com) & RubySASS.

You'll need:

* Ruby (and sass - `gem install sass`)
* Run `npm install` from the root directory.
* To run a build, you'll simply need to run `grunt`.