41 lines
1.2 KiB
HTML
41 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
<title>perfect-scrollbar example</title>
|
|
<link href="../out/css/perfect-scrollbar.css" rel="stylesheet">
|
|
<script src="../out/js/perfect-scrollbar.global.js"></script>
|
|
<style>
|
|
#description {
|
|
border: 1px solid gray;
|
|
height:150px;
|
|
width: 400px;
|
|
overflow: hidden;
|
|
position: absolute;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="description" class="wrapper">
|
|
<div>
|
|
<p>The command takes options applicable</p>
|
|
<p>The command takes options applicable</p>
|
|
<p>The command takes options applicable</p>
|
|
<p>The command takes options applicable</p>
|
|
<p>The command takes options applicable</p>
|
|
<p>The command takes options applicable</p>
|
|
<p>The command takes options applicable</p>
|
|
<p>The command takes options applicable</p>
|
|
<p>The command takes options applicable</p>
|
|
<p>The command takes options applicable</p>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
var $ = document.querySelector.bind(document);
|
|
window.onload = function () {
|
|
Ps.initialize($('#description'));
|
|
};
|
|
</script>
|
|
</body>
|
|
</html>
|