JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html>
<head>
<title>Date class view</title>
<script src="main/jquery.min.js" type="text/javascript"></script>
<body>
<div class="fixed_div">
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple string.</div>
<div>The simple...
CSS
html,body {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
}
.fixed_div {
position: fixed;
width: 100%;
height: 100%;
overflow: auto;
z-index: 5;
text-align: center;
border: 1px solid #ffffff;
}