<!DOCTYPE HTML>
<html>
<meta charset="UTF-8">
<title>
</title>
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover">
<head>
<style>
#box {
width: 100%;
height: 40px;
background: #eeeeee;
border-radius: 10px;
<!--圆角-->box-shadow: 1px 1px 2px 2px #232;
<!--阴影-->border: 1px solid #ff0000
}
.play {
<!--用css画三角形-->width: 0px;
height: 0px;
float: left;
margin-top: 10px;
width: 10px;
width: 0;
height: 0;
border-top: 10px solid transparent;
border-left: 16px solid #666666;
border-bottom: 10px solid transparent;
}
.pause {
<!--用css画两条竖线-->width: 6px;
height: 18px;
border-left: 4px solid #666666;
border-right: 4px solid #666666;
float: left;
margin-top: 10px;
width: 10px;
}
.time {
color: #666666;
float: left;
width: 8%;
margin-top: 12px;
font-size: 14px;
margin-left: 10px;
height: 18px;
}
#progress {
float: left;
width: 55%;
height: 8px;
background: #fff;
box-shadow: 1px 1px 2px 2px #232;
border-radius: 5px;
margin-top: 16px;
margin-left: 16px;
position: relative;
}
#bar {
width: 10%;
height: 100%;
background: #ccc;
border-radius: 3px;
display: inline-block;
position: absolute;
top: 0;
left: 0;
}
#control {
width: 17px;
height: 17px;
position: absolute;
border-ra
html video 自定义控制栏(移动端应用)
最新推荐文章于 2024-06-13 18:23:52 发布