|
|

楼主 |
发表于 2024-11-22 13:13
|
显示全部楼层
我把整个代码发上来,你帮我看看那里错了- <style>
- .tvOuter {
- margin: 150px 0 0 calc(50% - 681px);
- width: 1200px;
- height: 720px;
- left:0px;
- border-radius: 3px;
- background: rgba(0,0,0,.85);
- box-shadow: 0px 0px 2px 14px #000;
- position: relative;
- }
- .tvOuter::before, .tvOuter::after {
- position: absolute;
- content: '';
- width: 60px;
- height: 60px;
- top: 100%;
- left: 20%;
- background: inherit;
- clip-path: polygon(10% 100%,50% 0%,90% 100%,70% 100%,50% 30%,30% 100%);
- }
- .tvOuter::after { left: 80%;}
- .tvInner {
- position: absolute;
- width: 100%;
- height: 100%;
- object-fit: fill;
- }
- </style>
- <div class="tvOuter">
- <video class="tvInner" src="https://txcdn1-file-m.mvbox.cn/upload/53b56b0a62df18047ffda091bc2b7f1a.mp4
- " controls="controls" autoplay="autoplay" loop="loop"></video>
- </div>
- <br><br><br><br><br><br><br><br>
复制代码 |
|