跳转到主要内容
kitlocal.dev

Tailwind 类名查找

本地运行

100% 在你的浏览器中处理。输入和输出绝不会离开你的设备。

搜索并发现 Tailwind CSS 工具类,支持实时预览。

类名
CSS 输出
复制
.flexdisplay: flex;
.griddisplay: grid;
.hiddendisplay: none;
.absoluteposition: absolute;
.relativeposition: relative;
.flex-colflex-direction: column;
.items-centeralign-items: center;
.justify-centerjustify-content: center;
.justify-betweenjustify-content: space-between;
.gap-4gap: 1rem (16px);
.w-fullwidth: 100%;
.h-fullheight: 100%;
.p-4padding: 1rem (16px);
.m-automargin: auto;
.mx-automargin-left: auto; margin-right: auto;
.text-centertext-align: center;
.text-smfont-size: 0.875rem; line-height: 1.25rem;
.font-boldfont-weight: 700;
.truncateoverflow: hidden; text-overflow: ellipsis; white-space: nowrap;
.uppercasetext-transform: uppercase;
.bg-whitebackground-color: #ffffff;
.bg-transparentbackground-color: transparent;
.rounded-lgborder-radius: 0.5rem (8px);
.borderborder-width: 1px;
.shadow-mdbox-shadow: 0 4px 6px ...;
.transition-alltransition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms;
.hover:opacity-80&:hover { opacity: 0.8; }
.animate-spinanimation: spin 1s linear infinite;
.z-10z-index: 10;
.cursor-pointercursor: pointer;