1.0.6 • Published 6 years ago

sector-responsive-layout v1.0.6

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

Sector Responsive Layout

Naming convention for grid modifiers. For example:

  • .responsive-layout--t2 translates to layout of 2 columns for tablet large and up breakpoint ('t' for tablet-large)
  • .responsive-layout--d3 translates to layout of 3 columns for desktop and up ('d' for desktop).
  • .responsive-layout--w4 translates to layout of 3 columns for wide and up ('w' for wide).

Intention is to use any combination of these modifiers to achieve desired grid configuration.

For example:

<div class="responsive-layout responsive-layout--t2 responsive-layout--w4">
    <div class="responsive-layout__item"> ... </div>
    <div class="responsive-layout__item"> ... </div>
    <div class="responsive-layout__item"> ... </div>
    <div class="responsive-layout__item"> ... </div>
</div>
  • By default, without any modifiers, the .responsive-layout component will squash all child
  • .responsive-layout__item elements into the same row, without any wrapping.
1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago