Home

Awesome

<center-div>

Center anything, without any CSS-knowledge!

📦 Install it

npm i @erikkroes/center-div

🛠️ Use it

<script async type="module" src="/node_modules/@erikkroes/center-div/center-div.js"></script>

<center-div><p>Hey all</p></center-div>

✨⭐ But wait, there's more! ⭐✨

You can even center a <div>!

<center-div><div></div></center-div>