css - 混合混合模式不起作用?

标签 css html

灵感来自于此example , 我创建 this这是行不通的。完整代码请查看here .

a.videolink:link, { 
font-size: 50px; 
font-family: Arial, Helvetica, sans-serif; 
color: white;
mix-blend-mode: exclusion;
text-align: right;
width: 350px;
text-decoration: none;
}

<div style="position:fixed;left:150px;bottom:150px;">
<a id="videotittle" class="videolink" href="" target="_blank"> 
</a>
</div>

最佳答案

在 FF 中,您的问题来自元素父元素的 position:fixed

我想固定元素不能与底层混合......

这是一个 updated fiddle anchor 的绝对定位位置仅在 FF 中有效。

在 chrome 中,您似乎需要将元素设置为与视频相同的级别 -> 在同一容器内...

fiddle for chrome

关于css - 混合混合模式不起作用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41867347/

相关文章:

css - svg 中的中心组元素

html - Bootstrap 防止小于 800px 的流动性

python - 用文本替换 HTML 链接

javascript - 尝试附加特定图像类型的图像计数 | jQuery

javascript - 使用 CSS 更改悬停时多个元素的属性

html - 如何为 CSS img 封面设置 anchor

html - 在 HTML 中实现 Blade

jQuery .fadeTo 添加元素

html - 当文本对齐设置为左时,为什么 ie8 会将文本居中?

javascript - 我如何将这个 'x' 数量的方格居中?