【发布时间】:2021-02-16 03:53:05
【问题描述】:
我正在尝试重新创建一个从 vanilla CSS 到 tailwindcss 的项目。但是我尝试了很多选择,但都失败了。
这是 CSS 代码:
header {
background: linear-gradient(rgba(135, 80, 156, 0.9), rgba(135, 80, 156, 0.9)), url(img/hero-bg.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
background-attachment: fixed;
position: relative;
}
任何人都可以将此代码转换为等效的 tailwindcss 代码吗?
【问题讨论】:
标签: css tailwind-css