-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.html
44 lines (44 loc) · 1.59 KB
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>hide-bars test page</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
body {
font-family: sans-serif;
font-size: 16px;
padding-top: 2em;
text-align: center;
}
div {
margin: 0 auto;
}
.scrollable {
height: 12.5em;
width: 12.5em;
overflow: scroll;
text-align: justify;
}
</style>
</head>
<body>
<h1>hide-bars</h1>
The scrollbars on all the scrollable divs should be hidden.
<div class="scrollable">
<img src="http://i.imgur.com/kDtVsrE.gif" /><br/>
</div>
<div class="scrollable">
She offered Patrolman Mancuso a torn and oily cake box that looked as if it had been subjected to unusual abuse during someone's attempt to take all of the doughnuts at once At the bottom of the box Patrolman Mancuso found two withered pieces of doughnut out of which, judging by their moist edges, the jelly had been sucked.
"Thank you anyway, Miss Reilly. I had me a big lunch."
</div>
<script src="./build/build.js"></script>
<script>
"use strict";
var hideBars = require("hide-bars");
hideBars( ".scrollable" );
</script>
</body>
</html>