Space Between
Usageโ
Please refer to the
documentation on the Tailwind CSS website
caution
space-{n}
was temporary removed in v4
. You can now use gap-*
utilities to add space between elements. We will re-add it once React Native adds support for display: 'block'
.
Compatibilityโ
Class | Support |
---|---|
space-{n} | ๐ Web only |
space-[n] | ๐ Web only |
space-x-{n} | ๐ Web only |
space-x-[n] | ๐ Web only |
space-y-{n} | ๐ Web only |
space-y-[n] | ๐ Web only |
space-x-reverse | ๐ Web only |
space-y-reverse | ๐ Web only |