Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/cfware/full-center

Web Component to center content vertically and horizontally
https://github.com/cfware/full-center

Last synced: about 2 months ago
JSON representation

Web Component to center content vertically and horizontally

Awesome Lists containing this project

README

        

# @cfware/full-center [![NPM Version][npm-image]][npm-url]

Web Component to center content vertically and horizontally.

## Usage

Import to your application:
```js
import '@cfware/full-center';
```

Use to center content:
```html



This will be in the center of the container element.



```

The parent element must have the style `display: flex` for this element to work.

[npm-image]: https://img.shields.io/npm/v/@cfware/full-center.svg
[npm-url]: https://npmjs.org/package/@cfware/full-center