---
title: "Discussion on \"Make center Text for horizontal and vertical in Tailwind Nextjs\" | Hashnode"
description: "Discussion on \"Make center Text for horizontal and vertical in Tailwind Nextjs\". Center Element (use Flex)\n<div className=\"flex justify-center items-center\">\n<div>Center</div>\n</div>\n\nCenter Position (use Absolute)\n<div className=\"relative\">\n<div>\n<Icon />\n</div>\n<div\n   className={`absolute top-0 left-0 right-0 bottom-0 text-cen..."
url: "https://hashnode.com/posts/make-center-text-for-horizontal-and-vertical-in-tailwind-nextjs/6608e8660ce16fa32c1ad7c4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Make center Text for horizontal and vertical in Tailwind Nextjs](https://tech.finlup.id/make-center-text-for-horizontal-and-vertical-in-tailwind-nextjs?utm_source=hashnode&utm_medium=feed)

Center Element (use Flex) <div className="flex justify-center items-center"> <div>Center</div> </div> Center Position (use Absolute) <div className="relative"> <div> <Icon /> </div> <div className={\`absolute top-0 left-0 right-0 bottom-0 text-cen...

Mar 31, 2024 · 1 min read · tech.finlup.id  
Read the article

-   [#tailwind-css](https://hashnode.com/tag/tailwind-css)
-   [#notes](https://hashnode.com/tag/notes)
-   [#coding](https://hashnode.com/tag/coding)
-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#code](https://hashnode.com/tag/code)
-   [#ui](https://hashnode.com/tag/ui)
-   [#html5](https://hashnode.com/tag/html5)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Ariska Hidayat](https://hashnode.com/@ariska138)

@ariska138 · Sragen, Indonesia

  
[View profile](https://hashnode.com/@ariska138)

We Make Technology Easy and Fun

I am an enthusiastic researcher and developer with a passion for using technology to innovate in business and education.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
