3 questions
2
votes
1
answer
56
views
Problem with positioning close button in modal window
I have a problem with the button that closes the modal window.
The X button in the main right corner of the modal window is cut off by the area of the modal window.
Example (codepen):
.modal-...
29
votes
6
answers
36k
views
Tailwind: add gap to flex without breaking row
I have a simple flex div with many children. I want 3 elements on each row using tailwindcss.
Is there a way to accomplish this using just tailwindcss classes? I tried with gap-4 on my parent div and ...
28
votes
5
answers
47k
views
Class text-white with Tailwind CSS does not work
I try to put a text in white color but it does not work why?
<link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet">
<h1 class="text-3xl text-center pt-5 bg-...