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

              
                <link href='https://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Lato:400,700' rel='stylesheet' type='text/css'>

<div class="navbar navbar-inverse navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">Live Web Design</a>
        </div>
        <div class="collapse navbar-collapse">
          <ul class="nav navbar-nav">
            <li class="active"><a href="#">Home</a></li>
            <li><a href="#about">Streams</a></li>
            <li><a href="#contact">About</a></li>
            <li><a href="#contact">Learn</a></li>
            <li><a href="#contact">Contact</a></li>
          </ul>
        </div><!--/.nav-collapse -->
      </div>
    </div>

    <div class="container">
      <div class="header-wrapper">
        <div class="row">
          <div class="col-md-8 nogutter">
            <div class="centervideo">
              <p>This is where the main video will go</p>
              
            </div>
          </div>
          <div class="col-md-4 nogutter">
            <div class="rightsidebar">
              
              <div class="streamtitle">
                <h2> Live Web Design</h2>
              </div>
              
              <div class="streamdesc-wrapper">
                <div class="streamdesc">
                  <p><span class="highlight">Stream Description: </span>Aliqua post-ironic put a bird on it blog beard. You probably haven't heard of them consequat Intelligentsia est fingerstache McSweeney's chia, post-ironic hashtag consectetur church-key deserunt. Non skateboard direct trade American Apparel, try-hard gluten-free commodo McSweeney's beard chambray. Wolf twee Austin, Brooklyn Neutra flexitarian Schlitz. Typewriter Bushwick ethnic, stumptown pi.</p>
                </div>
                <div class="streamcategory">
                  <p><span class="highlight">Category: </span> Web Design, UX Design, Design Theory</p>
                </div>
                
                <div class="streamauthor">
                  <p><span class="highlight">Streaming by:</span> Johnathan Smith</p>
                </div>
                <div class="authorwebsite">
                  <p><span class="highlight">Website: </span><a href="#">www.livewebdesign.com</a></p>
                </div>
              </div>
            
            </div>
          </div>
          
        </div>

      </div><!--Header Wrapper-->
      
      <div class="maincontent">
        <div class="row">
          <div class="col-md-12">
            <div class="row">
              <div class="col-md-4 smallvid">
                <div class="smallvid-title">
                  <h3>Web Designing around</h3>
                </div>
                <div class="smallvid-player">
                  <p class="ex">video 1</p>
                </div>
              </div>
              <div class="col-md-4 smallvid">
                <div class="smallvid-title">
                  <h3>Illustrating around</h3>
                </div>
                 <div class="smallvid-player">
                  <p class="ex">video 2</p>
                </div>
              </div>
              <div class="col-md-4 smallvid">
                <div class="smallvid-title">
                  <h3>Photoshoping around</h3>
                </div>
                <div class="smallvid-player">
                  <p class="ex">video 3</p>
                </div>
              </div>
            </div>
          </div><!--column12-->
        </div><!--row-->
        
      </div><!--maincontent-->
    </div>
              
            
!

CSS

              
                $white: #fff;
$dwhite: #E5E1D1;
$lgray: #52616D;
$dgray: #2C343B;
$pink: #C44741;

@mixin rightrounded($radius: 7px){
-webkit-border-top-right-radius:      $radius;
-webkit-border-bottom-right-radius:   $radius;
-moz-border-radius-topright:          $radius;
-moz-border-radius-bottomright:       $radius;
border-top-right-radius:              $radius;
border-bottom-right-radius:           $radius;
}

body {
  padding-top: 50px;
  background-image: url('https://i.imgur.com/gxWtC0h.png');
}

.navbar{
  background-color: $dgray;
  ul.nav{
    li{
      
      a{
        color:$white;
      }
    }
  }
  
  a.navbar-brand{color:$pink;font-family: Lobster;font-size:24px;text-shadow: 1px 1px 0px #222222;}
}
.header-wrapper{
  margin-top:50px;
  min-height:422px;
}
.centervideo{
  background-color: $pink;
  height:422px;
  p{color:$white;line-height:422px;text-align:center;}
}
.rightsidebar{
  background-color:$white;
  @include rightrounded(15px);
}
.nogutter{
 padding:0px;
 margin:0px;
}
.streamtitle{
  display:block;
  background-color:$dgray;
  -webkit-border-top-right-radius: 7px;
  -moz-border-radius-topright: 7px;
  border-top-right-radius: 7px;
  h2{
    color:$white;
    margin:0;
    line-height:50px;
    padding:0px 20px;
    font-family:Lato, sans;
    font-size:16px;
    font-weight:bold;
    text-align:center;
  }
}
.streamdesc-wrapper{
  padding:20px;
  color:$lgray;
  font-family: Lato,sans;
  word-wrap: break-word;
    .streamdesc{

    }
    span.highlight{
      font-weight:bold;
    }
  .authorwebsite{
    a{color:$pink;font-weight:bold;letter-spacing:1px;}
  }
}
.maincontent{
  margin-top:50px;
  .smallvid{
    .smallvid-title{
      display:block;
      padding:5px;
      background-color:$dgray;
      h3{
        font-family:Lato,sans;
        font-size: 16px;
        line-height:25px;
        text-align:center;
        color:$white;
        padding:0 10px;
        margin:0;
        
      }
    }
    
    .smallvid-player{
      display:block;
      min-height:165px;
      background-color:$pink;
        p.ex{line-height:165px;color:$white;text-align:center;}
    }
  }
}
              
            
!

JS

              
                //enable tooltips to proof that JS is working just fine
//hover over the link

$('#example').tooltip('show')
              
            
!
999px

Console