Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <style>
      @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/icon?family=Material+Icons');


:root {
    --tableBlack: #000000;
    --mutedBlack: #fff;
    --accentOne: #c6c6c6;
    --accentTwo: #2d3233;
    --accentThree: #ffffff;
    --accentFour: #000000;
    --textColor: #cccfcf;
    --barelyMutedBlack: #101010;
}

.riskSomethingWS {
    display: inline-block;
    vertical-align: top;
    margin: 10px;
    background: var(--tableBlack);
    padding: 20px;
    width: 282px;
    height: 192px;
    margin-top: 0px;
    margin-left: 0px;
    position:relative;
}

.rsyoutubeVideoHolder {
    position: relative;
    width: 282px;
    height: 192px;
    background-image: url('https://via.placeholder.com/282x192/000/fff');
}

.rshoverContent {
    width: 262px;
    height: 172px;
    background: var(--mutedBlack);
    border: 10px solid transparent;
    opacity: 0;
    position: absolute;
    top: 0;
    z-index: 999999;
    transition: all 1s ease-in-out;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;
}

.rsyoutubeVideoHolder:hover .rshoverContent {
    opacity: 1;
}

.rsbottomYoutubeCommands {
    position: absolute;
    width: 282px;
    bottom: 26px;
    text-align: left;
}

.rsplayerLine {
    width: 98%;
    height: 6px;
    background: var(--accentThree);
    margin-left: 1%;
    position: relative;
    margin-bottom: 5px;
}

span.rsinsideLineHolder {
    height: 6px;
    width: 25%;
    background: var(--accentTwo);
    display: block;
}

.rsbottomYoutubeCommands span {
    font-size: 14px;
    font-size: 10px;
    color: var(--textColor);
    font-family: 'Montserrat', sans-serif;
}

span.rstimeSection {
    font-size: 9px;
    display: inline-block;
    vertical-align: top;
    margin-top: 2px;
    margin-left: 3px;
}

.rsrightSideControls {
    float: right;
    padding-right: 5px;
}

span.material-icons.rsfirstIconYoutube {
    padding-left: 3px;
}



.rsrightContentYoutube::-webkit-scrollbar {display:none;}

.rsrightContentYoutube {
    display: inline-block;
    vertical-align: top;
    width: 262px;
    height: 167px;
    overflow: auto;
    text-align: justify;
    line-height: 18px;
    color: var(--accentFour);
    font-size: 10px;
    font-family: 'Montserrat', sans-serif;
}

.material-icons {
    font-family: 'Material Icons'!important;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}
</style>

<center>
  <div class='riskSomethingWS'>
  <div class="rsyoutubeVideoHolder">
  <div class="rshoverContent">

  <div class="rsrightContentYoutube">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Risus nullam eget felis eget nunc lobortis mattis aliquam faucibus. Posuere ac ut consequat semper. Tincidunt ornare massa eget egestas purus. Viverra nam libero justo laoreet sit. Adipiscing vitae proin sagittis nisl rhoncus. Penatibus et magnis dis parturient montes. Tortor consequat id porta nibh venenatis cras. Velit sed ullamcorper morbi tincidunt ornare massa eget egestas purus. Posuere sollicitudin aliquam ultrices sagittis orci. Faucibus in ornare quam viverra orci sagittis eu volutpat. <br><br> Nec ullamcorper sit amet risus nullam eget felis eget nunc. Porta lorem mollis aliquam ut porttitor leo a. Elit ullamcorper dignissim cras tincidunt lobortis feugiat vivamus at augue. Etiam tempor orci eu lobortis elementum nibh tellus molestie. Velit dignissim sodales ut eu. Purus gravida quis blandit turpis cursus. Malesuada fames ac turpis egestas integer eget aliquet nibh praesent. Mauris rhoncus aenean vel elit scelerisque mauris pellentesque. Turpis massa tincidunt dui ut ornare. Sed blandit libero volutpat sed cras ornare arcu dui. Enim nunc faucibus a pellentesque sit amet porttitor. Leo vel orci porta non. Lacinia at quis risus sed vulputate odio ut enim blandit. Mi bibendum neque egestas congue quisque egestas diam in arcu.
  </div>
  </div>
  </div>

  <div class="rsbottomYoutubeCommands">
  <div class="rsplayerLine">
  <span class="rsinsideLineHolder"></span>
  </div>
    
  <span class="material-icons rsfirstIconYoutube">pause</span>
  <span class="material-icons">skip_next</span>
  <span class="material-icons">volume_up</span>
  <span class="rstimeSection">
  1:25/4:14
  </span>
  <div class="rsrightSideControls">
  <span class="material-icons"> settings </span>
  <span class="material-icons"> crop_5_4 </span>
  <span class="material-icons"> crop_free </span>
  </div>
  </div>
  </div>
</center>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console