package
Web Component to center content vertically and horizontally
npm install @cfware/full-centerGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Web Component to center content vertically and horizontally.
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.
Estimated unpacked size across 9 packages.
258.5 kB
Includes dependencies.