When running on my machine, your code seems not to be the issue. What you're experiencing may be due to not initializing the tailwind build process which updates your styles as you change them.