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.

            
              <nav style="background-color:#55acee;" class="navbar navbar-default navbar-fixed-top" role="navigation">
  <div class="container">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse"
            data-target="#menu">
      <span class="sr-only">Toggle navigation</span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
    </button>
      <a class="navbar-brand" href="https://codepen.io/ciberlook/pen/aZpgOe" target="_parent"><img alt="Brand" src="http://gdurl.com/tzXM"></a>
    </div>
    <div class="navbar-collapse collapse" id="menu">
      <ul class="nav navbar-nav navbar-right">
      <li class="active"><a href="#personalInformation">Personal Data</a></li>
      <li><a  href="#education">Education</a></li>
      <li><a  href="#portafolio">Portafolio</a></li>
      <li><a  href="#contact">Contact</a></li>
    </ul>
    </div>
  </div>
</nav>
<div id="personalInformation" style="background-color:#55acee; border-radius:20px;" class="container well">
  <div class="row">
    <div class="col-md-8">
      <div class="well">
      <h2>Personal Information:</h2>
      <dl class="dl-horizontal">
        <dt>Name:</dt>
        <dd>Alberto Ma....</dd>
        <dt>Date of Birth:</dt>
        <dd>DD/MM/YYYY<dd>
        <dt>Movil Number:</dt>
        <dd>+34 6XX XXX XXX<dd>
        <dt>Email:</dt>
        <dd><a title="Email contact" href="mailto:ciberlook@gmail.com">ciberlook@gmail.com</a></dd>
      </dl>
      </div>
      <div class="container-fluid">
        <div class="row">
          <div class="col-xs-8"><hr></div>
          <div style="padding:5px 0px 0px 0px;" class="col-xs-4 text-center">
            <ul  class="list-inline">
              <li ><a class="btn btn-primary" title="Facebook" href="https://www.facebook.com/albertomarinmendoza"><i class="fa fa-facebook"></i></a></li>
              <li ><a class="btn btn-primary" title="Linkedin" href="https://www.linkedin.com/in/alberto-marin-mendoza-11698b105?trk=hp-identity-name"><i class="fa fa-linkedin"></i></a></li> 
            </ul>
            
          </div>
        </div>
        <div class="row">
          <div class="col-md-12 text-center">
            <h2>Web Designer <i style="color:white; font-size:smaller;" class="fa fa-ellipsis-v"></i> Graphic Designer <i style="color:white; font-size:smaller;" class="fa fa-ellipsis-v"></i> Programming</h2>
          </div>
        </div>
      </div>
      
    </div>
    <div class="col-md-4">
      <img class="img-responsive img-thumbnail" alt="My cv picture" src="http://gdurl.com/Wlv8">
    </div>
  </div>
  
  <div id="education" style="margin-top:20px;" class="row">
    <div class="col-md-6">
      <div class="well">
        <h2>Education</h2>
        <hr style="border-color:#55acee;">
        <dl>
          <dt>IT Advanced Qualification</dt>
          <dd>
            <p>Gestinmatica Centre Education</p>
            <p><small><em>Cádiz. 2001</em></small></p>
          </dd>
          <dt>Bachiller &amp; COU</dt>
          <dd>
            <p>Gestinmatica Centre Education</p>
            <p><small><em>Chiclana. 1999</em></small></p>
          </dd>
          <dt>Multimedia degree</dt>
          <dd>
            <p>The Open University of Cataluña</p>
            <p><small><em class="text-info">Online.</em> <em>Currently</em></small></p>
          </dd>
        </dl>
        
        <h2>Other Courses</h2>
        <hr style="border-color:#55acee;">
        <dl>
          <dt>Training Courses</dt>
          <dd>
            <p>FORJA Fundation</p>
            <p><small><em>Cádiz. 2005</em></small></p>
          </dd>
          <dt>Linux Administrator &amp; Networking Administrator</dt>
          <dd>
            <p>Business's Confederation of Cádiz</p>
            <p><small><em>Cádiz. 2008</em></small></p>
          </dd>
          <dt>Microsoft Windows 2003 Administrator</dt>
          <dd>
            <p>School from Cataluña</p>
            <p><small><em>Online. 2008</em></small></p>
          </dd>
        </dl>
      </div>
    </div>
    <div class="col-md-6">
      <div class="well">
        <h2>Other Skills</h2>
        <hr style="border-color:#55acee;">
          <dl class="dl-horizontal">
            <dt>HTML</dt>
            <dd>
             <div class="progress">
              <div class="progress-bar" role="progressbar" aria-valuenow="90"
              aria-valuemin="0" aria-valuemax="100" style="width:90%">
                <span class="sr-only">90% Complete</span>
              </div>
            </div>
            <dd>
              <dt>CSS</dt>
            <dd>
             <div class="progress">
              <div class="progress-bar" role="progressbar" aria-valuenow="80"
              aria-valuemin="0" aria-valuemax="100" style="width:80%">
                <span class="sr-only">80% Complete</span>
              </div>
            </div>
            <dd>
              <dt>PHP</dt>
            <dd>
             <div class="progress">
              <div class="progress-bar" role="progressbar" aria-valuenow="95"
              aria-valuemin="0" aria-valuemax="100" style="width:95%">
                <span class="sr-only">95% Complete</span>
              </div>
            </div>
            <dd>
              <dt>JAVASCRIPT</dt>
            <dd>
             <div class="progress">
              <div class="progress-bar" role="progressbar" aria-valuenow="97"
              aria-valuemin="0" aria-valuemax="100" style="width:97%">
                <span class="sr-only">97% Complete</span>
              </div>
            </div>
            <dd>
              <dt>JQUERY</dt>
            <dd>
             <div class="progress">
              <div class="progress-bar" role="progressbar" aria-valuenow="90"
              aria-valuemin="0" aria-valuemax="100" style="width:90%">
                <span class="sr-only">90% Complete</span>
              </div>
            </div>
            <dd>
              <dt>MYSQL</dt>
            <dd>
             <div class="progress">
              <div class="progress-bar" role="progressbar" aria-valuenow="85"
              aria-valuemin="0" aria-valuemax="100" style="width:85%">
                <span class="sr-only">85% Complete</span>
              </div>
            </div>
            <dd>
              <dt>PROCESSING</dt>
            <dd>
             <div class="progress">
              <div class="progress-bar" role="progressbar" aria-valuenow="80"
              aria-valuemin="0" aria-valuemax="100" style="width:80%">
                <span class="sr-only">80% Complete</span>
              </div>
            </div>
            <dd>
              <dt>DREAMWEAVER</dt>
            <dd>
             <div class="progress">
              <div class="progress-bar" role="progressbar" aria-valuenow="70"
              aria-valuemin="0" aria-valuemax="100" style="width:70%">
                <span class="sr-only">70% Complete</span>
              </div>
            </div>
            <dd>
              <dt>FIREWORKS</dt>
            <dd>
             <div class="progress">
              <div class="progress-bar" role="progressbar" aria-valuenow="95"
              aria-valuemin="0" aria-valuemax="100" style="width:95%">
                <span class="sr-only">95% Complete</span>
              </div>
            </div>
            <dd>
              <dt>PHOTOSHOP</dt>
            <dd>
             <div class="progress">
              <div class="progress-bar" role="progressbar" aria-valuenow="99"
              aria-valuemin="0" aria-valuemax="100" style="width:99%">
                <span class="sr-only">99% Complete</span>
              </div>
            </div>
            <dd>
              <dt>ILLUSTRATOR</dt>
            <dd>
             <div class="progress">
              <div class="progress-bar" role="progressbar" aria-valuenow="70"
              aria-valuemin="0" aria-valuemax="100" style="width:70%">
                <span class="sr-only">70% Complete</span>
              </div>
            </div>
            <dd>
              <dt>INDESIGN</dt>
            <dd>
             <div class="progress">
              <div class="progress-bar" role="progressbar" aria-valuenow="95"
              aria-valuemin="0" aria-valuemax="100" style="width:95%">
                <span class="sr-only">95% Complete</span>
              </div>
            </div>
            <dd>
              <dt>PHOTOGRAPHY</dt>
            <dd>
             <div class="progress">
              <div class="progress-bar" role="progressbar" aria-valuenow="92"
              aria-valuemin="0" aria-valuemax="100" style="width:92%">
                <span class="sr-only">92% Complete</span>
              </div>
            </div>
            <dd>
          </dl>
        <H2>Languages</H2>
        <hr style="border-color:#55acee;">
        <dl class="dl-horizontal">
          <dt>English</dt>
          <dd>B 2.2</dd>
          <dt>Spanish</dt>
          <dd>Native</dd>
        </dl>
      </div>
    </div>
  </div>
  <div class="row text-center">
    <div style='overflow:hidden; white-space:nowrap;'>
      <hr style="display:inline-block;width:45%;"><i style="display:inline-block;font-size:52px;color:white;font-weight:bold;" class="fa fa-code"></i><hr style="display:inline-block;width:45%;">
    </div>
    
  </div>
  <div id="portafolio" class="well text-center">
    <h2 >Portafolio</h2>
    <hr style="border-color:#55acee;">
    <div class="row">
      <div class="col-md-4"><a href="http://urbanismoyregularizacion.com/"><img class="img img-responsive img-thumbnail" alt="Urbanismo y regularización" src="http://gdurl.com/ei3M" ><h4 class="text-info">Urbanismo y Regularización</h4></a></div>
      <div class="col-md-4"><a href="http://www.trafalgarhouse.es/"><img class="img img-responsive img-thumbnail" alt="Trafalgar House School" src="http://gdurl.com/4LNE" ><h4 class="text-info">TrafalgarHouse</h4></a></div>
      <div class="col-md-4"></div>
    </div>
  </div>
  <div class="row text-center">
    <div style='overflow:hidden; white-space:nowrap;'>
      <hr style="display:inline-block;width:45%;"><i style="display:inline-block;font-size:52px;color:white;font-weight:bold;" class="fa fa-code"></i><hr style="display:inline-block;width:45%;">
    </div>
    
  </div>
  <div id="contact" class="well text-center">
    <h2 >Contact Form</h2>
    <hr style="border-color:#55acee;">
    <div class="row">
      <div class="col-sm-8 text-left">
        <form role="form" action="#">
          <fieldset class="form-group">
          <input class="form-control input-lg" type="text" placeholder="Name" required></input>
          <small class="text-muted">I'll never share your email with anyone else.</small>
          </fieldset>
          <fieldset class="form-group">
          <input class="form-control input-lg" type="text" placeholder="Email" required></input>
        </fieldset>
          <fieldset class="form-group">
          <input class="form-control input-lg" type="text" placeholder="Phone Number" required></input>
      </fieldset>
          <button type="submit" class="btn btn-primary"><i class="fa fa-paper-plane"></i> Submit</button>
        </form>
      </div>
      <div class="col-sm-4 text-left">
        <p>Please!, feel free to contact with me by filling the form beside this text.</p>
        <p>I always answere!!
      </div>
    </div>
  </div>
</div>
<div id="footer" class="bg-primary">
  <div class="container">
    <p><i class="fa fa-copyright"></i><span>All rights reserved.</span></p>
  </div>
</div>

<ul class="nav pull-right scroll-top">
  <li><a id="scrollButton" href="#personalInformation" title="Scroll to top"><i class="glyphicon glyphicon-chevron-up"></i></a></li>
</ul>
            
          
!
            
              body {
  padding-top:70px;
}
.navbar-brand{
  padding-top:0;
}
input[type='text']{
  border:0;
  border-bottom:2px solid gray; 
}

.scroll-top {
   position:fixed;
   bottom:0;
   right:6%;
   z-index:100;
   background: rgba(0,0,250,0.5);
   font-size:24px;
   border-top-left-radius:3px;
   border-top-right-radius:3px;
}
.scroll-top a:link,.scroll-top a:visited {
  color:#222;
} 

            
          
!
            
              $(window).scroll(function(){
  var choice=0;
    //I get the position of the element in the document
    var posPersonal=$("#personalInformation").offset().top;
    //With the position of the element in the window relative to its scroll and the difference gives me the position of the element relative to the window
    var pos_relEdu=posPersonal-$(window).scrollTop();
    if (pos_relEdu<=200){
      choice=0;
    }
    var posEducation=$("#education").offset().top;
    var pos_relEdu=posEducation-$(window).scrollTop();
    if (pos_relEdu<=200){
      choice=1;
    }
    var posPortafolio=$("#portafolio").offset().top;
    var pos_relPor=posPortafolio-$(window).scrollTop();
    if (pos_relPor<=200){
      choice=2;
    }
  
  var posContact=$("#contact").offset().top;
  var pos_relCon=posContact-$(window).scrollTop();
  if (pos_relCon<=200){
    choice=3;
  }
  //The choice determines what element from the menu I active
       switch (choice){
         case 0:
           $("#menu li:nth-child(1)").addClass("active");
           $("#menu li:nth-child(2)").hasClass("active")?$("#menu li:nth-child(2)").removeClass("active"):0;
           $("#menu li:nth-child(3)").hasClass("active")?$("#menu li:nth-child(3)").removeClass("active"):0;
           $("#menu li:nth-child(4)").hasClass("active")?$("#menu li:nth-child(4)").removeClass("active"):0;
           break;
         case 1:
           $("#menu li:nth-child(1)").hasClass("active")?$("#menu li:nth-child(1)").removeClass("active"):0;
           $("#menu li:nth-child(2)").addClass("active");
           $("#menu li:nth-child(3)").hasClass("active")?$("#menu li:nth-child(3)").removeClass("active"):0;
           $("#menu li:nth-child(4)").hasClass("active")?$("#menu li:nth-child(4)").removeClass("active"):0;
           break;
         case 2:
           $("#menu li:nth-child(1)").hasClass("active")?$("#menu li:nth-child(1)").removeClass("active"):0;
           $("#menu li:nth-child(2)").hasClass("active")?$("#menu li:nth-child(2)").removeClass("active"):0;
           $("#menu li:nth-child(3)").addClass("active");
           $("#menu li:nth-child(4)").hasClass("active")?$("#menu li:nth-child(4)").removeClass("active"):0;
           break;
         case 3:
           $("#menu li:nth-child(1)").hasClass("active")?$("#menu li:nth-child(1)").removeClass("active"):0;
           $("#menu li:nth-child(2)").hasClass("active")?$("#menu li:nth-child(2)").removeClass("active"):0;
           $("#menu li:nth-child(3)").hasClass("active")?$("#menu li:nth-child(3)").removeClass("active"):0;
           $("#menu li:nth-child(4)").addClass("active");  
           break;
       }
  })
$(document).ready(function(){
  
  $("#menu ul").children().on('mouseover',function(){
      $(this).addClass('animated pulse');
  });
  $("#menu ul").children().on('mouseout',function(){
      $(this).removeClass('animated pulse');
  });
  
  
  //Controlling the smooth scrolling
  $("a").on('click', function(event) {

    // Make sure this.hash has a value before overriding default behavior
    if (this.hash !== "") {
      // Prevent default anchor click behavior
      event.preventDefault();

      // Store hash
      var hash = this.hash;

      // Using jQuery's animate() method to add smooth page scroll
      // The optional number (800) specifies the number of milliseconds it takes to scroll to the specified area
      $('html, body').animate({
        scrollTop: $(hash).offset().top
      }, 800, function(){
   
        // Add hash (#) to URL when done scrolling (default click behavior)
        window.location.hash = hash;
      });
    } // End if
  });
  
})



            
          
!
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