我想知道如何从div特定xl屏幕尺寸的现有背景中删除背景颜色?我想要这样的东西background-color:unset,这可以吗tailwind.css?
<div class="fixed bottom-0 bg-baseorange p-4 left-0 w-full z-10 xl: bg-none xl:absolute lg:absolute xl:bottom-22 xl:right-20 lg:bottom-22 lg:right-20">
</div>Run Code Online (Sandbox Code Playgroud)
您可以使用xl:bg-transparent。
在Tailwind中,类bg-transparent设置css属性background-color: transparent;
Tailwind 文档: https://tailwindcss.com/docs/background-color
| 归档时间: |
|
| 查看次数: |
11326 次 |
| 最近记录: |