Tailwind转CSS

将Tailwind CSS类转换为原生CSS

浏览器处理您的数据绝不离开浏览器

Tailwind Classes

Preview

Preview Element

Generated CSS

.element {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background-color: var(--color-blue-500);
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

Class Breakdown

flexdisplay: flex;
items-centeralign-items: center;
justify-betweenjustify-content: space-between;
p-4padding: 16px;
bg-blue-500background-color: var(--color-blue-500);
text-whitecolor: #ffffff;
rounded-lgborder-radius: 8px;
shadow-lgbox-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

Common Examples

About Tailwind转CSS

将Tailwind CSS类转换为原生CSS

Use this free online css生成器 tool to work faster without installing extra software. The interface is built for quick input, clear output, and straightforward results on desktop and mobile devices.

Processing

This tool runs in your browser whenever possible, which keeps your inputs private and reduces unnecessary round-trips to the server.