JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8
  • Score
    100M100P100Q37147F
  • License MIT

Efficiently utilize the space for your webpage.

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (columns-layout) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    columns-layout

    Efficiently utilize the space for your webpage - This plugin can help you efficiently utilize the space in your webpage. It aligns your section form top to bottom as well as making cross column layout.

    Visit https://johnsonhklhk.com/columns for detail.

    Demo image

    Visit https://johnsonhklhk.com/columns for detail.

    Getting Started

    Quick Start

    1. Import columns.min.js :
      <script src="columns.min.js"></script>
    2. Add HTML Layout :
      <div class="columns">
          <div>...</div>
          <div>...</div>
          <div>...</div>
          ...
      </div>
    3. Initialize Columns :
       <script>
           var myColumns = new Columns(".columns", {
               count: 2,
               gap: 12,
               autoHeight: true,
               breakpoints: {
                   768: {
                       count: 4,
                       gap: [12, 16],
                   },
                   992: {
                       count: 6,
                       gap: 16,
                   },
               },
           }).init();
       </script>

    Visit https://johnsonhklhk.com/columns for detail.