layout-css-modules

1.0.1 • Public • Published

layout-css-modules logo

Layout CSS Modules

Layout made easy with CSS modules grid system inspired by Bootstrap.

npm npm GitHub

Table of Contents

Introduction

Layout CSS Modules is a mobile-first, twelve column system based on a flexbox layout, that takes advantage of CSS modules for simpler styling and maintenance, allowing you to easily create responsive layouts for your web applications inspired by Bootstrap.

Features

  • Mobile-first design approach
  • Based on a flexbox layout
  • Twelve-column grid system
  • Uses CSS modules for simpler styling and maintenance
  • TypeScript support for type checking and improved development experience
  • Encapsulation of CSS rules and styles to prevent conflicts
  • Reusable styles across components for consistent designs
  • Reduced duplicate code in your application
  • Improved performance through unique class names generated at build time.

Installation

You can install Layout CSS Modules using npm:

npm install layout-css-modules

Usage

---
import { container, row, col12, colXL4 } from "layout-css-modules/index.module.css";
---

<div class:list={[container]}>
	<div class:list={[row]}>
		<div class:list={[col12, colXL4]}>Column</div>
		<div class:list={[col12, colXL4]}>Column</div>
		<div class:list={[col12, colXL4]}>Column</div>
	</div>
</div>

Contributing

We welcome contributions from the community! Please take a look at our CONTRIBUTING.md file for more information on how to get started. We appreciate all kinds of contributions, from bug reports and feature requests to code contributions and documentation improvements. Thank you for considering contributing to our project!

License

Layout CSS Modules is licensed under the MIT License.

Package Sidebar

Install

npm i layout-css-modules

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

119 kB

Total Files

6

Last publish

Collaborators

  • appzic