Mastodon Feed: Post

Mastodon Feed

collinsworth@hachyderm.io ("Josh Collinsworth") wrote:

This is, of course, to say nothing of how Tailwind itself falls behind current browser standards.

Currently, there's no way to use any of the newer versions of `vh` or `vw` in Tailwind. Or, for that matter, the `:has` selector.

It also irks me (while we're near the subject) that Tailwind's linter barks at you if you try to use browser fallbacks. Like, if I try to use `h-screen` (100vh) and then add `h-[100dvh]`, the linter argues that I'm being redundant. But I'm not; I'm covering my bases.