Code Monkey home page Code Monkey logo

responsive-css-gallery's Introduction

responsive-css-gallery

Samples for a Web Gallery based on different approaches

##Status WIP

  • Basic HTML
  • CSS3 Flexbox
  • CSS3 Column
  • Bootstrap
  • JS Gallery

##Goal I strugled with most available Masorny Galleries I could find beacuse I wanted a lightweight, responsive, CSS-only gallery that I can customize from it's styling. The gallery should work on comon browsers, have a meaningful order and just look high-value and clean without having any unnecessary animations or gaps between the images.

There is always the design decition between showing the images in columns or rows. Columns show portait images big, rows show them small but panoramas big. Beautiful rows seem to be impossible with blank CSS.

Also I took a look at other web galleries out and how they display the images. My personal favorite yet is Flickr as it is exactly what I am searching for.

Click here to see an example what my goal is

##Results

###Basic HTML Demo

Pros Cons
Browser support Ugly as hell
Correct order Not really responsive
Small overhead

###CSS3 Flexbox Demo

Pros Cons
Correct oder on Desktop Gaps everywhere
Currenty no breakpoints - always 3 fluid columns
Many Vendor prefixes

Browser Support

###CSS3 Column Demo

Pros Cons
Responsive Order of images is correct on mobile but wrong on desktop
No Gaps
Allows fluid and responsive layouts

Browser Support

###Bootstrap Demo

Pros Cons
Responsive and fluid possible Huge overhead if Bootstrap is not required for the site
No gaps wrong order on mobile
Images need to be split in 3 different rows

##JavaScript

###JS Gallery Demo I wanted to have try a JS Gallery on my own, so I just started with development.

Pros Cons
Perfect design on every device JS / jQuery required
Overhead is adquate More work than the CSS solutions

##Conclusion WIP

responsive-css-gallery's People

Contributors

xremix avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.