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

https://github.com/potch/flex-box

A Custom Element to aid usage of flexbox
https://github.com/potch/flex-box

Last synced: 10 months ago
JSON representation

A Custom Element to aid usage of flexbox

Awesome Lists containing this project

README

          

# <flex-box>

A Custom Element to make the basics of flexbox easier to use

## Usage

```html





```

## Attributes

### `axis`

Controls direction of layout. `axis="x"` for horizontal layout, `axis="y"` for vertical layout (default)

### `fill`

The `` element will size itself to `width: 100%` and `height: 100%`. Useful for top-level layout.

### `flex`

Place this attribute on direct children to make them flex to take up available excess width.