Replies: 1 comment
-
You can use an arbitrary property like: <div class="[align-items:anchor-center]"> @utility items-anchor-center {
align-items: anchor-center;
} <div class="items-anchor-center"> Perhaps it's not built in because there doesn't seem to be support for Firefox or Safari yet: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
There is no utility class for specifying the following style:
alignItems: "anchor-center"
I tried: (based on https://tailwindcss.com/docs/align-items )
items-anchor-center
and items-[anchor-center].How to do this using TailwindCCS? The property seems to be standard: https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
Beta Was this translation helpful? Give feedback.
All reactions