In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the relevant knowledge of "how to make a custom scroll bar for HTML video background". The editor shows you the operation process through an actual case. The operation method is simple, fast and practical. I hope this article "how to make a custom scroll bar for HTML video background" can help you solve the problem.
Video background custom scroll bar making code
Dhgsahdls;asa
.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 (0B0B0D0B0J0.5)}
/ * * Scroll bar * /
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
}
/ * the style of the scroll bar * /
.cds _ scrollbar {
Position: absolute
Background: # 555 url (/ divgundong/12476505130.gif)
Right: 0px
Cursor: pointer
}
/ * selected style * /
.cds _ scrollbar_over {
Background: # aaa url (/ divgundong/12476497481.gif)
}
/ * * Click style drag * * /
.cds _ scrollbar_pushed {
Background: # fff url (/ divgundong/12476497480.gif)
}
/ * unpassed style * /
.cds _ track {
Position: absolute
Background: # 222 url (/ divgundong/12476497482.gif)
Right:-1px
Top: 0px
Height: 100%
Cursor: pointer
}
/ * the style of the up arrow * /
.cds _ up {
Position: absolute
Background: # f60 url (/ divgundong/12476497483.gif)
Right: 0px
Top: 0px
Cursor: pointer
}
/ * style of the down arrow * /
.cds _ down {
Position: absolute
Background: # f60 url (/ divgundong/12476497483.gif)
Right: 0px
Bottom: 0px
Cursor: pointer
}
Djsalk'
This is the end of the content about "how to make a custom scroll bar for HTML video background". Thank you for reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.