alexwlchan / masonry-viewer

A small toy app for me to play with CSS Grid 3, aka "Masonry" Layout

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

masonry-viewer

This is a small Python web app that takes a local folder of images, and renders them in a "Masonry" layout.

I made it after reading about the proposal for CSS Grid Level 3, aka "Masonry" layout, on the WebKit blog. I wanted to experiment with the new layout options.

Installation

$ git clone https://github.com/alexwlchan/masonry-viewer.git
$ cd masonry-viewer
$ python -m venv .venv
$ source .venv/bin/activate
$ pip install -e .

Usage

$ pip install -e .
$ ROOT=/path/to/images/ python3 -m flask --app "masonry_viewer:app" run

License

MIT.

About

A small toy app for me to play with CSS Grid 3, aka "Masonry" Layout

License:MIT License


Languages

Language:Python 71.6%Language:HTML 28.4%