Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>This is the new shit</title>
- </head>
- <style type="text/css">
- .wrapper{
- height:30vh;
- background-color: #e7e7e7;
- width:40vw;
- opacity: 0.6;
- overflow-y: scroll;
- }
- .content{
- word-break: break-all;
- }
- </style>
- <body>
- <div class="wrapper">
- <div class="content">
- <div>
- <div>
- </body>
- <script type="text/javascript">
- let el = document.getElementsByClassName('content')[0]
- let str=""
- for(let i=0;i<1000;++i)
- str +=i
- el.innerText = str
- </script>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement