[英]How to remove background-color in tailwindcss?
我想知道如何从现有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>
您可以使用xl:bg-transparent
。
在 Tailwind 中, class bg-transparent
设置 css 属性background-color: transparent;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.