@JIH7
Posted
Looks great! Especially considering this is your first Tailwind project. If you want things to be more exact, try using the square brackets []
notation to insert arbitrary values. I see max-[640px]
in there a lot, I'm not familiar with the max
utility class, but for other classes in Tailwind this is incredibly useful. If you want percentage based height or width for instance, and you aren't happy with the selection of fractions tailwind has, you can say h-[65%]
to get something more specific. All units, like px, %, ems, rems, vw, etc all work with this syntax.
Marked as helpful