An open API service indexing awesome lists of open source software.

https://github.com/sircus/components-flex

Deprecated
https://github.com/sircus/components-flex

Last synced: about 1 year ago
JSON representation

Deprecated

Awesome Lists containing this project

README

          

# sircus-components-flex

[![npm version](https://img.shields.io/npm/v/sircus-components-flex.svg?style=flat)](https://www.npmjs.com/package/sircus-components-flex)

## Installation

> npm:

```bash
$ npm install sircus-components-flex sircus-tools-display sircus-tools-width
```

## Usage

> cssnext:

input.css
```css
@import "sircus-components-flex";
@import "sircus-tools-display";
@import "sircus-tools-width";
```

> sass:

input.scss
```scss
@import "./node_modules/sircus-components-flex/converted";
@import "./node_modules/sircus-tools-display/converted";
@import "./node_modules/sircus-tools-width/converted";
```

> Markup

```html



1


2


3


4


```

> Responsive

```html


```

> Modifier

```css
.Flex--nowrap { flex-wrap: nowrap; }
.Flex--center { justify-content: center; }
.Flex--right { justify-content: flex-end; }
.Flex--left { justify-content: flex-start; }
.Flex--justify { justify-content: space-between; }
.Flex--top { align-items: flex-start; }
.Flex--middle { align-items: center; }
.Flex--bottom { align-items: flex-end; }
.Flex--baseline { align-items: baseline; }
/* child */
.Flex-col--fit { flex: 1; }
.Flex-col--first { order: -1 }
.Flex-col--last { order: 9999 }
```

## Contributing

We Need Your Help!

## License
Released under the [MIT](https://github.com/sircus/license/blob/master/LICENSE) license.