cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

            
              <div class="text">
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed lobortis porttitor molestie. Proin malesuada, tellus at congue condimentum, libero ipsum varius mauris, in sollicitudin dolor nulla vel ex. Maecenas non tellus posuere, ullamcorper mi sollicitudin, venenatis mauris. Nullam arcu odio, venenatis nec purus non, imperdiet porttitor enim. Aliquam sagittis urna vel nunc molestie, id bibendum elit semper. Quisque eget libero iaculis, aliquet nisi in, rhoncus augue. Maecenas a orci lectus. Fusce lacus nulla, efficitur vitae tellus nec, pretium malesuada ex. Suspendisse imperdiet turpis id nisl ornare lobortis. Quisque tincidunt ornare dolor, quis interdum metus aliquam nec. Fusce vel dui purus. In hac habitasse platea dictumst. Duis aliquam leo non euismod mattis. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Etiam dolor ante, tincidunt id mi eu, ultricies porttitor eros. Morbi accumsan elit sit amet sodales tincidunt.
    <br />
Vestibulum vel imperdiet risus, id convallis nulla. Vivamus efficitur faucibus felis eu imperdiet. Etiam posuere tristique urna a lobortis. In hac habitasse platea dictumst. Nunc egestas, dolor et sodales gravida, ipsum ligula laoreet magna, eget convallis felis diam vel nisl. Donec semper sollicitudin eros, eu aliquet lacus mattis non. Sed sagittis aliquet tincidunt. Aliquam sit amet massa turpis.

Quisque elit est, dignissim nec urna vitae, luctus fermentum lectus. Proin mattis ligula a arcu mattis, eu facilisis augue mollis. Integer tincidunt, turpis tincidunt interdum venenatis, ante ex aliquam urna, a molestie neque erat ut dui. Mauris et urna quam. Etiam sit amet magna sit amet est vestibulum congue. Sed sodales tempus sapien, egestas posuere elit ullamcorper id. Fusce eu luctus est. Donec eu nulla nec elit congue vestibulum posuere eu ex. Mauris id dolor hendrerit, mollis sapien at, fermentum risus. Phasellus tristique, dolor ut finibus bibendum, quam lectus semper ante, feugiat luctus ipsum augue eget lectus. <br />
    
    Pellentesque in diam eu lectus tincidunt ullamcorper. Cras ornare sodales odio sed efficitur. Proin imperdiet accumsan ex, sit amet tempus massa. Curabitur a viverra mi. Integer suscipit nisi quis nibh tristique rhoncus. Phasellus malesuada mauris in massa dapibus eleifend.</p>
</div>
            
          
!
            
              /* Doğukan Batal - www.dogukanbatal.com */
*{padding:0; margin:0}
.text{
    width:500px;
    height:300px;
    margin:0 auto;
    border:1px solid #555;
    padding:5px;
    background:#888;
    color:#fff;
    font:15px Arial,sans-serif;
}
.text p{
    height:300px;
    overflow:scroll

}


::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background-color: #333;
}
::-webkit-scrollbar-thumb {
    
    background-color: #c9c9c9;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #000;
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console