in my code, justify between does not work. here is the code:
import { Container } from 'postcss'
import React from 'react'
export default function Navbar() {
return (
<>
<nav className='w-full flex justify-between'>
<div>
asdsad
</div>
<div>
asdsad
</div>
<div>
asdsad
</div>
</nav>
</>
)
}
justify-center, justify-start and justify-end works perfectly but justify-between, justify-strech etc. does not work.
2
Answers
I try to create it here an it still work correctly.
This is a minimal version of your code with tailwind and react. And it show space between div correctly
could you please provide the entire reproducible code so I can try to replicate your issue? I tested the following code, and justify-between works as intended, so I’m unable to reproduce the problem.
Here on this image you can see the result: