html – 如何设置透明度到一个div的背景颜色?
发布时间:2020-12-14 21:43:46 所属栏目:资源 来源:网络整理
导读:参见英文答案 CSS opacity only to background color not the text on it? [duplicate]1 我有这个班 .box { background-color:#fff; border:3px solid #eee; } 我的问题是如何设置白色背景的不透明度,以使它与我的背景混合? 谢谢。 解决方法 CSS 3引入 rgb
参见英文答案 >
CSS opacity only to background color not the text on it? [duplicate]1
我有这个班 .box { background-color:#fff; border:3px solid #eee; } 我的问题是如何设置白色背景的不透明度,以使它与我的背景混合? 谢谢。 解决方法
CSS 3引入
rgba colour,您可以将其与图形结合使用,用于
backwards compatible解决方案。
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |