OLD | NEW |
---|---|
1 <html> | 1 <html> |
rune
2015/01/20 15:48:13
<!DOCTYPE html> and no <html>, <head>, <body>.
MuVen
2015/01/21 06:14:10
Done.
| |
2 <head> | 2 <head> |
3 <style> | 3 <style> |
4 ::-webkit-scrollbar { | 4 ::-webkit-scrollbar { |
5 width: 12px; | 5 width: 12px; |
6 height: 12px; | 6 height: 12px; |
7 } | 7 } |
8 ::-webkit-scrollbar-track { | 8 ::-webkit-scrollbar-track { |
9 -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); | 9 -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); |
10 -webkit-border-radius: 10px; | 10 -webkit-border-radius: 10px; |
11 border-radius: 10px; | 11 border-radius: 10px; |
12 } | 12 } |
13 ::-webkit-scrollbar-thumb { | 13 ::-webkit-scrollbar-thumb { |
14 -webkit-border-radius: 10px; | 14 -webkit-border-radius: 10px; |
15 border-radius: 10px; | 15 border-radius: 10px; |
16 background: rgba(255,150,250,0.8); | 16 background: rgba(255,0,0,0.8); |
17 -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); | 17 -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); |
18 } | 18 } |
19 </style> | 19 </style> |
20 </head> | 20 </head> |
21 <body> | 21 <body> |
22 <div id="fillDIV" style="background-color:lightblue;width:400px;height:4 00px;overflow:hidden;"> </div> | 22 <div id="fillDIV" style="background-color:lightblue;width:400px;height:4 00px;overflow:hidden;"> </div> |
rune
2015/01/20 15:48:13
What's this div for?
MuVen
2015/01/21 06:14:09
just to display customscrollbar on iframe, im over
| |
23 </body> | 23 </body> |
24 </html> | 24 </html> |
OLD | NEW |