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

https://github.com/1000ch/x-flexbox

Web Components which provide Flexbox features.
https://github.com/1000ch/x-flexbox

flexbox layout web-components

Last synced: about 1 year ago
JSON representation

Web Components which provide Flexbox features.

Awesome Lists containing this project

README

          

# x-flexbox [![test](https://github.com/1000ch/x-flexbox/actions/workflows/test.yml/badge.svg)](https://github.com/1000ch/x-flexbox/actions/workflows/test.yml)

> Web Components which provide Flexbox features.

## Install

Using [npm](https://www.npmjs.org/package/x-flexbox):

```sh
$ npm install x-flexbox
```

## Usage

Import `FlexContainer` and `FlexItem`, register them.

```html

import { FlexContainer, FlexItem } from 'https://unpkg.com/x-flexbox';

customElements.define('flex-container', FlexContainer);
customElements.define('flex-item', FlexItem);

```

Put `` and ``.

```html


```

## License

[MIT](https://1000ch.mit-license.org) © [Shogo Sensui](https://github.com/1000ch)