🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

@cfware/full-center

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cfware/full-center

Web Component to center content vertically and horizontally

latest
Source
npmnpm
Version
0.7.0
Version published
Maintainers
1
Created
Source

@cfware/full-center NPM Version

Web Component to center content vertically and horizontally.

Usage

Import to your application:

import '@cfware/full-center';

Use to center content:

<div class="container-class" style="display: flex">
	<full-center>
		<div>This will be in the center of the container element.</div>
	</full-center>
</div>

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

Keywords

custom-elements

FAQs

Package last updated on 21 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts