91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

HTML視頻背景自定義滾動條如何制作

發布時間:2022-03-25 11:20:30 來源:億速云 閱讀:187 作者:iii 欄目:web開發

這篇文章主要介紹“HTML視頻背景自定義滾動條如何制作”的相關知識,小編通過實際案例向大家展示操作過程,操作方法簡單快捷,實用性強,希望這篇“HTML視頻背景自定義滾動條如何制作”文章能幫助大家解決問題。

視頻背景自定義滾動條制作代碼

<!doctype html>

<html>

<head>

<meta charset="utf-8">

<title>dhgsahdls;asa</title>

<script type="text/javascript" src="http://7fvk4m.com1.z0.glb.clouddn.com/roll.js"></script>

<style>

.ss{height:100%/*inherit*/;

         overflow: hidden;

         position: fixed;

         top: 0;

         left:0;

         width: 100%;

         }

.shade{ width:100%;

        height:100%;

                   position:fixed;

                   top:0;

                   left:0;

                   z-index:1;

                   background:url(ss.png) repeat;}

.sp{ visibility: visible;

             width: 115%;

             position: absolute;

             top:50%;

             left:50%;

    transform: translate(-50%, -50%);

   -webkit-transform: translate(-50%, -50%);}

.con{height:2000px; position:relative;}

.banner{background:#fff; height:1000px;}

.content1{ width:1000px;

          height:1000px;

                     margin:0 auto;

                     background:rgba(0,0,0,.5)}

                    

/**滾動條**/

body{margin: 0px;

                   padding: 0px;

                   background: #222;

                   position: absolute;

                   width: 100%;

                   height: 100%;

                   pointer: default;

                   overflow:hidden;

                   }

#screen {

                   position: absolute;

                   left: 0;

                   height: 100%;

                   top: 0;

                   width: 100%;

                   overflow: auto;

                   color: #fff;

         }

 

#screen2 {                  position: absolute;

                   left: 20%;

                   height: 30%;

                   width: 60%;

                   top: 60%;

                   overflow: auto;

                   background: #111;

                   color: #fff;

         }

.content {

                   position:relative;

                   font-size: 0.8em;

                   font-family: verdana;

                   color: #fff;

                   padding: 1em;

                   height: 100%;

         }

a {

                   text-decoration: none;

                   color:#ff8000;

         }

a:hover    {

                   text-decoration: none;

                   background:#ff8000;

                   color:#ffffff;

         }

a:visited {

                   text-decoration: none;

                   color:#ff8000;

         }

a:visited:hover {

                   text-decoration: none;

                   background:#ff8000;

                   color:#ffffff;

         }

/**滾動條的樣式**/

.cds_scrollbar {

                   position: absolute;

                   background: #555 url(/divgundong/12476505130.gif);

                   right: 0px;

                   cursor: pointer;

         }

/**選中的樣式**/

.cds_scrollbar_over {

                   background: #aaa url(/divgundong/12476497481.gif);

         }

/**點擊的樣式拖動**/

.cds_scrollbar_pushed {

                   background: #fff url(/divgundong/12476497480.gif);

         }

/**未經過的樣式**/

.cds_track {

                   position: absolute;

                   background: #222 url(/divgundong/12476497482.gif);

                   right: -1px;

                   top: 0px;

                   height: 100%;

                   cursor: pointer;

         }

/**上箭頭的樣式**/

.cds_up {

                   position: absolute;

                   background: #f60 url(/divgundong/12476497483.gif);

                   right: 0px;

                   top: 0px;

                   cursor: pointer;

         }

/**下箭頭的樣式**/

.cds_down {

                   position: absolute;

                   background: #f60 url(/divgundong/12476497483.gif);

                   right: 0px;

                   bottom: 0px;

                   cursor: pointer;

         }

 

</style>

</head>

 

<body>

        <div class="ss">

             <div class="shade"></div>

 

              <video src="http://qiniucdn.activity.sonkwo.com/20170117/video/00_1_2.mp4" autoplay loop  class="sp">

                   <source src="http://qiniucdn.activity.sonkwo.com/20170117/video/00_1_2.mp4" type="video/mp4">

             </video>

      </div>

    <div class="con" id="screen">

       <div class="banner"></div>

       <div class="content1">

         djsalk'

       </div>

    </div>

    <div >

</div>

 

</div>

</body>

</html>

關于“HTML視頻背景自定義滾動條如何制作”的內容就介紹到這里了,感謝大家的閱讀。如果想了解更多行業相關的知識,可以關注億速云行業資訊頻道,小編每天都會為大家更新不同的知識點。

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

霍城县| 平原县| 扎兰屯市| 阆中市| 榆中县| 江城| 清镇市| 安达市| 桂平市| 牡丹江市| 盐池县| 肥东县| 惠州市| 大厂| 怀仁县| 郓城县| 彭泽县| 许昌市| 黄平县| 甘洛县| 剑川县| 柘城县| 汶川县| 阳山县| 尉氏县| 连城县| 孝义市| 云和县| 紫云| 达州市| 大冶市| 朝阳市| 东乌| 沂南县| 阿勒泰市| 琼海市| 化德县| 上思县| 云林县| 海林市| 通城县|