css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <html>
<head>

<style>
::-webkit-scrollbar              { /* 1 */ }
::-webkit-scrollbar-button       { /* 2 */ }
::-webkit-scrollbar-track        { /* 3 */ }
::-webkit-scrollbar-track-piece  { /* 4 */ }
::-webkit-scrollbar-thumb        { /* 5 */ }
::-webkit-scrollbar-corner       { /* 6 */ }
::-webkit-resizer         		 { /* 7 */ }

/* For the "inset" look only */
html {
    overflow: auto;
}
body {
    position: absolute;
    top: 20px;
    left: 20px;
    bottom: 20px;
    right: 20px;
    padding: 30px; 
    overflow-y: scroll;
    overflow-x: hidden;
}

/* Let's get this party started */
::-webkit-scrollbar {
    width: 11px;
}
 
/* Track */
::-webkit-scrollbar-track {
    border: 5px solid #fff;
    background: red;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: red; 
}
::-webkit-scrollbar-thumb:window-inactive {
	background: rgba(255,0,0,0.4); 
}

</style>



</head>
<body>


<p>
	Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris ut nulla eget turpis fringilla ultricies efficitur at libero. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nunc finibus eros vitae nunc egestas, et varius nunc scelerisque. Integer sagittis, odio ac mollis sodales, lectus lacus suscipit magna, in ultricies lorem lacus vel ligula. Etiam a mauris porttitor, tempor nisl varius, accumsan lectus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas ornare vestibulum ante. Nulla faucibus lectus ac fringilla dignissim. Duis tincidunt elit et odio mollis vestibulum. Pellentesque id tortor sed purus porta egestas mollis eu tortor. Fusce massa nibh, lacinia a malesuada in, posuere sit amet ipsum. Vivamus lobortis massa ac iaculis aliquet. Curabitur in nulla dolor.

<p>
Praesent quis eleifend erat, at tempor urna. Sed non augue nec libero condimentum sagittis in id mi. Donec congue sit amet nulla non interdum. Mauris lobortis sapien ac orci eleifend, sit amet commodo dui gravida. Ut sagittis malesuada erat semper vulputate. Aliquam vel risus mi. Aliquam condimentum sem quis mi posuere, non aliquet leo finibus.
<p>
Vestibulum accumsan mi vitae tortor tincidunt posuere. Maecenas dignissim magna vel finibus ullamcorper. Fusce iaculis dapibus risus, nec ullamcorper purus fermentum at. Sed molestie pharetra quam sed maximus. Mauris molestie, nisi a gravida dapibus, urna metus viverra magna, ut laoreet risus purus ut nisl. Etiam rhoncus eget arcu quis lobortis. Interdum et malesuada fames ac ante ipsum primis in faucibus. Mauris et mi vitae lacus laoreet elementum. Mauris suscipit nibh non dolor tincidunt, vel tristique nibh scelerisque. Donec varius, justo sit amet hendrerit lobortis, purus neque congue velit, eget posuere massa lorem ut eros. Integer consectetur ultricies elit id egestas.
<p>
Aliquam interdum tempor malesuada. Pellentesque tristique eleifend nunc, sit amet aliquet ligula. Integer euismod vehicula suscipit. Donec aliquam, leo sed blandit auctor, libero sem dignissim lectus, quis condimentum nunc eros et nisi. Donec pellentesque neque lacus, a commodo justo pellentesque vel. Nunc condimentum at nisi vitae eleifend. Maecenas dictum metus sem, eget molestie neque venenatis quis. Praesent rutrum pharetra urna, vitae vulputate odio porttitor eget. Aliquam lacinia scelerisque mi, ac porta lacus tempor eu. Duis eros ligula, semper sit amet gravida quis, volutpat sit amet nisi. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
<p>
Fusce varius vitae dui ut eleifend. Nam ultrices eget justo eu eleifend. Maecenas ornare ut lorem eu varius. Etiam eget dolor eget nisi aliquam accumsan et eu urna. Vestibulum iaculis ornare metus ac condimentum. Mauris lacinia eleifend sem a sagittis. Quisque aliquet, neque sit amet viverra hendrerit, magna risus laoreet risus, ac dapibus lectus erat at ex. Mauris sit amet feugiat mauris. Fusce ultrices iaculis dolor nec feugiat. Maecenas ac augue sapien. Nam molestie lacus ut ultricies dapibus. Maecenas commodo ullamcorper elit sed imperdiet. Phasellus vel ultricies velit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse potenti. Donec quis mauris vel quam egestas aliquam vitae sed mi.



</body>
</html>
            
          
!
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