html5 vedio 抓取,HTML5 Video 抓取视频海报

本文介绍了一套精心设计的CSS样式规则,这些规则应用于HTML元素,确保了网页布局的一致性和高效性。通过设置通用选择器和特定类别的样式,能够实现响应式设计并保持良好的视觉效果。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

CSS

语言:

CSSSCSS

确定

*, *:after, *:before {

-webkit-box-sizing: border-box;

-moz-box-sizing: border-box;

box-sizing: border-box; }

html, body {

height: 100%; }

body {

margin: 0;

padding: 0;

position: relative;

background: #023454; }

.wrapper {

position: relative;

display: block;

width: 480px;

overflow: hidden;

margin: 0 auto;

margin-top: 100px; }

.group {

position: relative; }

canvas {

width: 480px;

height: 280px;

border: 5px solid #fff;

background: #382742; }

video {

display: block;

width: 150px;

height: 90px;

position: absolute;

top: 0;

right: 0;

border: 5px solid #fff; }

input:focus {

outline: none; }

.snapinput {

color: #fff;

font-family: Helvetica, Arial, sans-serif;

font-weight: 500;

font-size: 18px;

border-radius: 0;

line-height: 22px;

background: #002e4e;

padding: 13px;

margin-bottom: 10px;

width: 80%;

border: 3px solid rgba(0, 0, 0, 0);

transition: all 0.5s ease; }

.snapinput:focus {

background: #fff;

box-shadow: 0;

border: 3px solid #002e4e;

color: #002e4e;

outline: none;

padding: 13px;

transition: all 0.5s ease; }

.snapBtn {

float: right;

width: 20%;

font-family: Helvetica, Arial, sans-serif;

font-weight: 500;

font-size: 18px;

border-radius: 0;

line-height: 22px;

padding: 13px;

margin-bottom: 10px;

border: 3px solid #002e4e;

cursor: pointer;

background: #031c40;

color: #fff;

transition: all 0.3s; }

.snapBtn:hover {

background: #fff;

box-shadow: 0;

border: 3px solid #002e4e;

color: #002e4e;

transition: all 0.3s; }

.load {

background: url(https://dl.dropboxusercontent.com/u/23834858/fotos/loader.gif) no-repeat center center #002e4e;

padding: 0;

margin: 0; }

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值