From 6a4735c88d94ff95ab3e102c4bc94393bbf68ccf Mon Sep 17 00:00:00 2001
From: xc <double72cheng@gmail.com>
Date: Mon, 26 Apr 2021 14:08:07 +0800
Subject: [PATCH] 直播
---
src/main/resources/public/css/controles.css | 20 ++++++++++++--------
1 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/src/main/resources/public/css/controles.css b/src/main/resources/public/css/controles.css
index 05a25c8..4d2bd45 100644
--- a/src/main/resources/public/css/controles.css
+++ b/src/main/resources/public/css/controles.css
@@ -1,11 +1,7 @@
-*{
- margin: 0;
- padding: 0;
-}
-/* 去掉全屏时显示的自带控制条 */
+/*!* 去掉全屏时显示的自带控制条 *!
video::-webkit-media-controls{
display:none !important;
-}
+}*/
.wrap h3{
text-align: center;
height: 100px;
@@ -19,6 +15,14 @@
}
+.player-wrapper {
+ width: 900px;
+ height: 500px;
+ /*overflow-y: auto;*/
+ margin: 0 auto;
+ text-align: center;
+}
+
.player .control{
position: absolute;
background: rgba(255, 255, 255, 0.3);
@@ -27,12 +31,12 @@
border-radius: 10px;
left: 60%;
bottom: -10px;
- transform: translateX(-50%);
+ transform: translateX(-48%);
}
.player .control div{
display: inline-block;
line-height: 40px;
- margin-left: 10px;
+ margin-left: 14px;
font-size: 18px;
color: #fff;
}
--
Gitblit v1.9.1