【发布时间】:2019-11-04 21:36:35
【问题描述】:
我正在尝试在我的视频上添加半透明叠加层。不知道如何在我的 CSS 中执行此操作。
css:
.video-div{
display: flex;
height: 22em;
width: 100%;
background-blend-mode: multiply;
background-color: #666666;
}
.videoTag{
object-fit: fill;
max-width: 100%;
width: 100%;
}
【问题讨论】:
-
也发布html
-
检查这个answer,在stackoverflow上。
标签: javascript html css reactjs