Skip to content

bmcmahen/magazine-layout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

magazine-layout

some helper styles for magazine.js

Installation

Install with component(1):

$ component install bmcmahen/magazine-layout

Example

This provides a basic absolutely positioned 12-node grid system that helps create basic magazine layouts.

<li class='swipe-pane'>
  <div class='left-0 width-4 height-12'>
    <div>
      <h1> A title </h1>
      <p> This css create a left-hand column. </p>
  </div>
  <div class='left-8 width-4 height-6'>
    <div>
     <p> I will appear in the top right corner. </p>
    </div>
  </div>
</li>

If you want a subgrid within a grid, you need to wrap it within a .grid-container class.

More examples to come... including the use of .fixed-block.

License

MIT

About

styles to help create your magazine.js layout

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages