自适应视频播放

代码语言:html

所属分类:布局界面

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">

<title>  Responsive video - JavaScript module</title>

<style>
  .video-container {
  max-width: 1200px;
  margin: 0 auto;
}
.video-container video {
  width: 100%;
}

.tip {
  max-width: 1200px;
  margin: 40px auto 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: arial;
  font-weight: bold;
}
.tip svg {
  margin-right: 10px;
}

.social {
  position: fixed;
  bottom: 20px;
  right: 0;
  font-size: 0;
  list-style: none;
  margin: 0;
  padding: 0 26px;
}
.social li {
  display: inline-block;
  margin: 12px;
}
.social a, .social svg {
  display: block;
}
.social a {
  position: relative;
  height: 40px;
  width: 40px;
}
.social svg {
  height: 100%;
  width: 100%;
}
.social ..........完整代码请登录后点击上方下载按钮下载查看

网友评论0