Giter Club home page Giter Club logo

pat-masonry's Introduction

#pat-masonry

A Patternslib pattern for Masonry (http://masonry.desandro.com )

##demo

To view a demo of how this pattern works, clone the repository:

git clone https://github.com/Patternslib/pat-masonry.git

The run the Makefile:

make

And then in your browser open: http://localhost:4001

Documentation

Property Default Value Description
column-width 240 The width of a column of a horizontal grid
container-style "{ position: 'relative' }" CSS styles to be applied to the container element
gutter 10 Horizontal space between item elements
hidden-style "{ opacity: 0, transform: 'scale(0.001)' }" Style applied to hide elements
is-fit-width false Set the width of the element to fit the available number of columns
is-origin-left true Controls the horizontal flow of the layout. By default, item elements start positioning at the left.
is-origin-top true Controls the vertical flow of the layout. By default, item elements start positioning at the top.
item-selector ".item" Specifies the child elements to be used as item elements.
stamp "" Specifies which elements are stamped (fixed) within the layout.
transition-duration "0.4s" Length of time during which elements change layout.
visible-style "{ opacity: 1, transform: 'scale(1)' }" Style applied to reveal hidden elements.

pat-masonry's People

Contributors

jcbrand 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.