Pen Settings

HTML

CSS

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

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

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.

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

              
                <div class="navbar-fixed">  
<nav class="blue-grey darken-2" role="navigation">
    <div class="nav-wrapper container">
    <div class="nav-wrapper">
      <a href="#home" class="brand-logo" >Sorin's Design</a>
      <a href="#" data-activates="mobile-demo" class="button-collapse"><i class="material-icons">menu</i></a>
      <ul class="right hide-on-med-and-down">
        <li class="active"><a href="#home">HOME</a></li>
        <li><a href="#about">ABOUT</a></li>
        <li><a href="#portfolio">PORTFOLIO</a></li>
        <li><a href="#contact">CONTACT</a></li>
      </ul>
      <ul class="side-nav" id="mobile-demo">
        <li class="active"><a href="#home">HOME</a></li>
        <li><a href="#about">ABOUT</a></li>
        <li><a href="#portfolio">PORTFOLIO</a></li>
        <li><a href="#contact">CONTACT</a></li>
      </ul>
	  </div>
  </nav>
  </div>
  
  <div class="section scrollspy no-pad blue-grey lighten-5" id="home">
	<div class="homepage-hero-module" >
    <div class="video-container">
        <div class="filter"></div>
        <video autoplay loop class="fillWidth">
            <source src="http://sorinr.netau.net/fcc/assets/Mickey.mp4" type="video/mp4" />Your browser does not support the video tag. I suggest you upgrade your browser.
        </video>
      <div class="title-container">
        <h2>Pixel Perfect Web Designs</h2>
        <h5>This is what I learn to create.</h5>
      </div>
    </div>
  </div>


  <div class="container">
    <div class="section">
      <div class="row">
        <div class="col s12 m12 scrollspy" id="about">
          <div class="card teal lighten-1">
            <div class="card-content white-text">
              <span class="card-title">About Me</span>
              <div class="row valign-wrapper">
                <div class="col s12 m4 center-align"><img src="https://res.cloudinary.com/sorinr/image/upload/v1463511342/marc_zz2mgs.jpg" alt="Just me not Afraid" class="circle responsive-img"></div>
                <div class="col s12 m8">
                  <h6>Hi! My name is Sorin and I'm trying to became a professional front end developer.</h6>
                  <h6>I have a passion to learn the best practices when designing UX/UI for the web.</h6>
                </div>
              </div>
            </div>
          </div>
        </div>

        <div class="col s12 m12 scrollspy" id="portfolio">
          <div class="card white">
            <div class="card-content teal-text">
              <span class="card-title">My Portfolio</span>
              <div class="row valign-wrapper">
                <div class="col s12 m4 center-align">
                  <img src="https://res.cloudinary.com/sorinr/image/upload/c_scale,w_250/v1463498061/tribute_page_xcyl3d.jpg" class="responsive-img" alt="Trubute Page" />
                  <p>This is my Tribute page posted on FreeCodeCamp. See it <a href="https://codepen.io/sorinr/full/YqgEQK/" target="_blank"> here</a></p>
                </div>
                <div class="col s12 m4 center-align">
                  <img src="https://res.cloudinary.com/sorinr/image/upload/c_scale,w_250/v1463498061/tribute_page_xcyl3d.jpg" class="responsive-img" alt="Weather App" />
                  <p>My Weather App page posted on FreeCodeCamp. See it <a href="https://s.codepen.io/sorinr/debug/xOGdYz" target="_blank">here</a></p>
                </div>
                <div class="col s12 m4 center-align">
                  <img src="https://res.cloudinary.com/sorinr/image/upload/c_scale,w_250/v1463498061/tribute_page_xcyl3d.jpg" class="responsive-img" alt="Not Afraid" />
                  <p>This is just another page posted on FreeCodeCamp</p>
                </div>
              </div>
              <div class="row valign-wrapper">
                <div class="col s12 m4 center-align">
                  <img src="https://res.cloudinary.com/sorinr/image/upload/c_scale,w_250/v1463498061/tribute_page_xcyl3d.jpg" class="responsive-img" alt="Not Afraid" />
                  <p>This is my Tribute page posted on FreeCodeCamp</p>
                </div>
                <div class="col s12 m4 center-align">
                  <img src="https://res.cloudinary.com/sorinr/image/upload/c_scale,w_250/v1463498061/tribute_page_xcyl3d.jpg" class="responsive-img" alt="Not Afraid" />
                  <p>This is another page posted on FreeCodeCamp</p>
                </div>
                <div class="col s12 m4 center-align">
                  <img src="https://res.cloudinary.com/sorinr/image/upload/c_scale,w_250/v1463498061/tribute_page_xcyl3d.jpg" class="responsive-img" alt="Not Afraid" />
                  <p>This is just another page posted on FreeCodeCamp</p>
                </div>
              </div>
              <div class="row valign-wrapper">
                <div class="col s12 m4 center-align">
                  <img src="https://res.cloudinary.com/sorinr/image/upload/c_scale,w_250/v1463498061/tribute_page_xcyl3d.jpg" class="responsive-img" alt="Not Afraid" />
                  <p>This is my Tribute page posted on FreeCodeCamp</p>
                </div>
                <div class="col s12 m4 center-align">
                  <img src="https://res.cloudinary.com/sorinr/image/upload/c_scale,w_250/v1463498061/tribute_page_xcyl3d.jpg" class="responsive-img" alt="Not Afraid" />
                  <p>This is another page posted on FreeCodeCamp</p>
                </div>
                <div class="col s12 m4 center-align">
                  <img src="https://res.cloudinary.com/sorinr/image/upload/c_scale,w_250/v1463498061/tribute_page_xcyl3d.jpg" class="responsive-img" alt="Not Afraid" />
                  <p>This is just another page posted on FreeCodeCamp</p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>

    </div>
  </div>

  <footer class="page-footer grey darken-1 scrollspy" id="contact">
    <div class="container">
      <div class="row">
        <div class="col l6 s12">
          <h5 class="white-text">Contact me</h5>
        <div class="input-field">
          <input id="email" type="email" class="validate">
          <label for="email">Email</label>
        </div>
        <div class="input-field">
          <textarea id="message" class="materialize-textarea"></textarea>
          <label for="message">Message</label>
        </div>
        <button class="btn waves-effect waves-light" type="submit" name="action">Send
          <i class="material-icons right">send</i>
        </button>
        </div>
        <div class="col l3 s6">
          <h5 class="white-text">Links</h5>
          <ul>
            <li><a class="white-text" href="#home">Home</a></li>
            <li><a class="white-text" href="#about">About</a></li>
            <li><a class="white-text" href="#portfolio">Portfolio</a></li>
            <li><a class="white-text" href="#contact">Contact</a></li>
          </ul>
        </div>
        <div class="col l3 s6">
          <h5 class="white-text">Follow me</h5>
          <ul>
            <li><a class="white-text" href="https://twitter.com/SorinRuse" target="_blank">Twitter</a></li>
            <li><a class="white-text" href="https://github.com/sorinr" target="_blank">Github</a></li>
            <li><a class="white-text" href="https://s.codepen.io/sorinr" target="_blank">Codepen</a></li>
            <li><a class="white-text" href="https://www.freecodecamp.com/sorinr" target="_blank">FreeCodeCamp</a></li>
          </ul>
        </div>
      </div>
    </div>
    <div class="footer-copyright">
      <div class="container">
      Created by <a class="teal-text text-lighten-3" href="http://materializecss.com">Sorin Ruse(@sorinr)</a>
      </div>
    </div>
  </footer>

              
            
!

CSS

              
                	.brand-logo{
		font-family: 'Ruslan Display', cursive;
	}
.homepage-hero-module {
    border-right: none;
    border-left: none;
    position: relative;
}
.no-video .video-container video,
.touch .video-container video {
    display: none;
}
.no-video .video-container .poster,
.touch .video-container .poster {
    display: block !important;
}
.video-container {
    position: relative;
    bottom: 0%;
    left: 0%;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background: #000;
}
.video-container .poster img {
    width: 100%;
    bottom: 0;
    position: absolute;
}
.video-container .filter {
    z-index: 100;
    position: absolute;
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
}
.video-container video {
    position: absolute;
    z-index: 0;
    bottom: 0;
}
.video-container video.fillWidth {
    width: 100%;
}
.video-container .title-container {
    z-index: 1;
    position: absolute;
    top: 20%;
    width: 100%;
    text-align: center;
    color: #fff;
}
.container{
  min-width: 90% !important;
}
h6{
  font-size: 1.25em;
}
.card .card-title{
  font-size: 36px !important;
  font-wight: 400 !important;
}

@media (max-width: 600px) {
  .video-container .title-container {
    top:1%;
  }
}
              
            
!

JS

              
                $(document).ready(function(){
  $('.scrollspy').scrollSpy();
  $(".button-collapse").sideNav();
	$('a[href^="#"]').on('click',function (e) {
	    e.preventDefault();

	    var target = this.hash,
	    $target = $(target);

	    $('html, body').stop().animate({
	        'scrollTop': $target.offset().top-64
	    }, 900, 'linear', function () {
	        window.location.hash = target;});
	});
});
  $(".button-collapse").sideNav({
    closeOnClick: true
  });
              
            
!
999px

Console