Skip to content

Instantly share code, notes, and snippets.

Created August 29, 2017 06:28
Show Gist options
  • Save anonymous/0fc0bc9839fb7ae9011619b09926557f to your computer and use it in GitHub Desktop.
Save anonymous/0fc0bc9839fb7ae9011619b09926557f to your computer and use it in GitHub Desktop.
JS Bin // source https://jsbin.com/zeyayoxemu
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
.viewport {
width: 160px;
overflow-x: hidden;
}
/* Scrollbar width suppose about 20px. */
.schedule {
width: 180px;
height: 90px;
overflow-y: auto;
}
</style>
</head>
<body>
<div class="viewport">
<div class="schedule">
<p>Lorem.</p>
<p>Impedit.</p>
<p>Dolorum.</p>
<p>Nobis.</p>
<p>Doloremque.</p>
<p>Harum.</p>
<p>Neque.</p>
<p>Architecto?</p>
<p>Quasi.</p>
<p>Nobis!</p>
</div>
</div>
<script id="jsbin-source-css" type="text/css">.viewport {
width: 160px;
overflow-x: hidden;
}
/* Scrollbar width suppose about 20px. */
.schedule {
width: 180px;
height: 90px;
overflow-y: auto;
}
</script>
</body>
</html>
.viewport {
width: 160px;
overflow-x: hidden;
}
/* Scrollbar width suppose about 20px. */
.schedule {
width: 180px;
height: 90px;
overflow-y: auto;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment