How to do this with tailwind css?

I want this to line in both sides of "or" text. How to do this with tailwind css?
4 Replies
Daryl
Daryl2y ago
Tailwind is just CSS. Have you tried to replicate this in plain CSS?
Somnath Golui
Somnath GoluiOP2y ago
Yes. But when I write something with "before:" it does not take effect.
Somnath Golui
Somnath GoluiOP2y ago
width and height not taking effect. you can see that here
Daryl
Daryl2y ago
From the docs: https://developer.mozilla.org/en-US/docs/Web/CSS/::before:
[...]. It is inline by default.
[...]. It is inline by default.
You need to add display: block or display: inline-block to your element. In Tailwind it would be: block or inline-block
Want results from more Discord servers?
Add your server