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.

            
              <body data-spy="scroll" data-target=".navbar" data-offset="50">

<div class="container-fluid">

  <div class="row">
    <div class="col-xs-12">
  <nav class="navbar navbar-inverse affix">
				
				<div id="navBar">
					<ul class="nav navbar-nav">
						<li><a href="#top">TOP</a></li>
						<li><a href="#portfolio">PORTFOLIO</a></li>
						<li><a href="#contact">CONTACT</a></li>
					</ul>
				</div>
			</div>
			</nav>
    </div>
 
  
  
  
  <div class="row row1">
    <div class="col-xs-12 bar1">
    <a name="top"></a>
    </div>
    <div class="col-xs-4">
      <img src="https://dl.dropboxusercontent.com/u/59164588/header-small.jpg">
    </div>
    <div class="col-xs-8">
      <br><br>
      <h4>Welcome to the portfolio of</h4>
      <div class="row">
        <div class="col-xs-2">
        </div>
        <div class="col-xs-10">
          <br>
          <p class="myname">Olivia Leigh</p>
          <p><img src="https://dl.dropboxusercontent.com/u/59164588/75Button.png" class="pull-left posrel"> Biomedical
            <br> Industrial
            <br> Graphic
            <br>
            <span class="bigbodytext">
           :DESIGNER</span>
          </p>
          <br>
          <p><img src="https://dl.dropboxusercontent.com/u/59164588/25Button.png" class="pull-left posrel margb"> html
            <br> CSS
            <br> javascript
            <br>
            <span class="bigbodytext">
           :WEB DESIGNER</span>

          </p>

        </div>


      </div>
    </div>
  </div>
</div>

<!--START PORTFOLIO SECTION-->

<div class="container-fluid">
  <div class="row row2 tac">
    <div class="col-xs-12 bar2">
      <a name="portfolio"></a>
    <div class="centerme tshad"><h3>PORTFOLIO</h3></div>
    </div>
</div>
    <!--start portfolio items-->
<div class="container" id="#portfolio">
    <div class="row">
        <div class="col-md-4 col-sm-6 col-xs-12 marg">
      <a href="https://codepen.io/LivShaka/full/YWKMxR/" target="_blank">
          <img class="portimg" src="https://dl.dropboxusercontent.com/u/59164588/CAF.jpg">
          <div class="porttext"><span class="bigbodytext">Tribute Page</span>
        </div></a>
      </div>
        <div class="col-md-4 col-sm-6 col-xs-12 marg">
          <a href="#">
      <img class="portimg" src="https://dl.dropboxusercontent.com/u/59164588/inprogress.jpg">
          <div class="porttext"><span class="bigbodytext">Coming Soon!</span>
            </div></a>
      </div>
        <div class="col-md-4 col-sm-6 col-xs-12 marg">
          <a href="#">
      <img class="portimg" src="https://dl.dropboxusercontent.com/u/59164588/inprogress.jpg">
          <div class="porttext"><span class="bigbodytext">Coming Soon!</span>
            </div></a>
      </div>
      <div class="col-md-4 col-sm-6 col-xs-12 marg">
        <a href="#">
      <img class="portimg" src="https://dl.dropboxusercontent.com/u/59164588/inprogress.jpg">
          <div class="porttext"><span class="bigbodytext">Coming Soon!</span>
          </div></a>
      </div>
   <div class="col-md-4 col-sm-6 col-xs-12 marg">
     <a href="#">
      <img class="portimg" src="https://dl.dropboxusercontent.com/u/59164588/inprogress.jpg">
          <div class="porttext"><span class="bigbodytext">Coming Soon!</span>
       </div></a>
      </div>
      <div class="col-md-4 col-sm-6 col-xs-12 marg">
        <a href="#">
      <img class="portimg" src="https://dl.dropboxusercontent.com/u/59164588/inprogress.jpg">
          <div class="porttext"><span class="bigbodytext">Coming Soon!</span>
          </div></a>
      </div>
      
      
       </div>
      
    
        
     
    <!--end portfolio items-->

    </div>
</div>
 
  <!--PORTFOLIO ENDS-->
<div class="container-fluid">

  <div class="row row3 marg">
    <div class="col-xs-12 bar3 tac">
      <a name="contact"></a>
      <div class="centerme tshad"><h3>CONTACT</h3></div>
    </div>
  </div>

<div class="container-fluid no-padding">
  <div class="row">
    <div class="col-xs-10 col-md-8 col-md-offset-2  zinten ">
      <!---START CONTACT FORM-->
      
    
      <h4 class="blue-text">Message me here...</h4>
    <form class="form-horizontal marg" action=" " method="post"  id="contact_form">
<fieldset>



<!-- Text input-->

<div class="form-group">
    <div class="col-xs-10 col-md-6 col-lg-4 inputGroupContainer">
  <div class="input-group zin">
  <span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>
  <input  name="first_name" placeholder="Name" class="form-control"  type="text">
    </div>
  </div>
</div>


<!-- Text input-->
       <div class="form-group">
     <div class="col-xs-12 col-md-8 col-lg-6 inputGroupContainer">
    <div class="input-group zin">
        <span class="input-group-addon"><i class="glyphicon glyphicon-envelope"></i></span>
  <input name="email" placeholder="E-Mail Address" class="form-control"  type="text">
    </div>
  </div>
</div>








<!-- Text area -->
  
<div class="form-group">
     <div class="col-xs-12 col-md-8 col-lg-6 inputGroupContainer">
    <div class="input-group zin">
        <span class="input-group-addon"><i class="glyphicon glyphicon-pencil"></i></span>
        	<textarea class="form-control" name="comment" placeholder="Write your message here."></textarea>
  </div>
  </div>

  
</div>
 

<!-- Success message -->
<div class="alert alert-success" role="alert" id="success_message">Success <i class="glyphicon glyphicon-thumbs-up"></i> Thanks for contacting me, I will get back to you shortly.</div>

<!-- Button -->
<div class="form-group">
    <div class="col-md-8 zin">
    <button type="submit" class="btn btn-warning tshad">Send <span class="glyphicon glyphicon-send"></span></button>
  </div>
</div>

</fieldset>
</form>

    <!-- /.container -->
      
      <!--END CONTACT FORM-->
       <!--social media-->
 <p class="zin">
   <h4 class="blue-text">Or find me here...</h4>
   <a href="https://www.freecodecamp.com/livshaka" target="_blank"><span><i class="fa fa-fire fa-3x social" aria-hidden="true"></i></span></a>
      <a href="https://github.com/LivShaka" target="_blank"><span><i class="fa fa-github-alt fa-3x social" aria-hidden="true"></i></span></a>
     
      </p>
    </div>
    
   
    <div class="col-xs-2 col-md-2 no-padding">
    <img class="pull-right" src="https://dl.dropboxusercontent.com/u/59164588/LivJumping.jpg">
    </div>
    
    
    
    
  </div>
 <!--end row above-->
 
</div>
</div>

<!--END CONTACT SECTION-->

</body>
            
          
!
            
              @import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700italic,400italic,900,600|Rancho);
body {
  font-family: 'Source Sans Pro', sans-serif;
  color: #ffffff;
  padding-top: 0px;
  position: relative;
  height: 100%;
}

.myname {
  font-family: 'Rancho', cursive;
  font-size: 5em;
}

.portimg {
  width: 100%;
}

.porttext {
  background-color: #FF9933;
  text-align: center;
  padding: 5px;
}

.porttext:hover {
  background-color: #FF6600;
}

.portimg:hover {
  opacity: .6;
  filter: alpha(opacity=60);
  /* For IE8 and earlier */
}

.row1 {
  background-color: #000000;
}

.row2 {
  background-color: #ffffff;
}

.social {
  text-align: center;
  line-height: 70px;
  vertical-align: middle;
  color: #ffffff;
  background-color: #6699CC;
  width: 70px;
  height: 70px;
  -moz-border-radius: 70px;
  -webkit-border-radius: 70px;
  border-radius: 70px;
  margin: 5px;
}

.social:hover {
  background-color: #3366CC;
}

.bar1 {
  height: 50px;
  background-color: #669933;
}

.bar2 {
  height: 50px;
  background-color: #FF9933;
}

.bar3 {
  height: 50px;
  background-color: #6699CC;
}

.blue-text {
  color: #6699CC;
}

.posrel {
  position: relative;
  left: -15px;
}

.centerme {
  position: relative;
  bottom: 18%;
  height: 50px;
}

.bigbodytext {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
}

.no-padding {
  padding: 0;
}

.zin {
  z-index: 5;
}

.zinten {
  z-index: 10;
}


/*
.portcols{
    float:none;
    display:inline-block;
  margin:20px;
    padding:0;
}  */

.tac {
  text-align: center;
}

.marg {
  margin-top: 25px;
}

.margb {
  margin-bottom: 25px;
}

a:link {
  color: #ffffff;
}


/* visited link */

a:visited {
  color: #ffffff;
}


/* mouse over link */

a:hover {
  color: #ffffff;
  text-decoration: none;
}


/* centered columns styles */

.row-centered {
  text-align: center;
}

.col-centered {
  display: inline-block;
  float: none;
  /* reset the text-align */
  text-align: left;
  /* inline-block space fix */
  margin-right: -4px;
}


/*CONTACT FORM CSS*/

#success_message {
  display: none;
}

.tshad {
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3)
}


/*scrolling*/

.affix {
  bottom: 0;
  width: 100%;
  z-index: 9999 !important;
}

.navbar {
  margin-bottom: 0px;
  border-radius: 0px;
  left: 0px;
  background-color: #000000;
}


/*
.navbar-collapse.collapse {
  display: block!important;
}
*/

.navbar-nav>li,
.navbar-nav {
  float: right !important;
}


/*
.navbar-nav.navbar-right:last-child {
  margin-right: -0px !important;
}

.navbar-right {
  float: right!important;
}
*/

ul,
menu,
dir {
  display: block;
  list-style-type: disc;
  -webkit-margin-before: 1em;
  -webkit-margin-after: 1em;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
  -webkit-padding-start: 40px;
  -webkit-padding-end: 40px;
}
            
          
!
            
                $(document).ready(function() {
    $('#contact_form').bootstrapValidator({
        // To use feedback icons, ensure that you use Bootstrap v3.1.0 or later
        feedbackIcons: {
            valid: 'glyphicon glyphicon-ok',
            invalid: 'glyphicon glyphicon-remove',
            validating: 'glyphicon glyphicon-refresh'
        },
        fields: {
            first_name: {
                validators: {
                        stringLength: {
                        min: 2,
                    },
                        notEmpty: {
                        message: 'Please supply your name'
                    }
                }
            },
             
            email: {
                validators: {
                    notEmpty: {
                        message: 'Please supply your email address'
                    },
                    emailAddress: {
                        message: 'Please supply a valid email address'
                    }
                }
            },
            
            comment: {
                validators: {
                      stringLength: {
                        min: 10,
                        max: 200,
                        message:'Please enter at least 10 characters and no more than 200'
                    },
                    notEmpty: {
                        message: 'Please type a message'
                    }
                    }
                }
            }
        })
        .on('success.form.bv', function(e) {
            $('#success_message').slideDown({ opacity: "show" }, "slow") // Do something ...
                $('#contact_form').data('bootstrapValidator').resetForm();

            // Prevent form submission
            e.preventDefault();

            // Get the form instance
            var $form = $(e.target);

            // Get the BootstrapValidator instance
            var bv = $form.data('bootstrapValidator');

            // Use Ajax to submit form data
            $.post($form.attr('action'), $form.serialize(), function(result) {
                console.log(result);
            }, 'json');
        });
});







$("#nav ul li a[href^='#']").on('click', function(e) {

   // prevent default anchor click behavior
   e.preventDefault();

   // store hash
   var hash = this.hash;

   // animate
   $('html, body').animate({
       scrollTop: $(hash).offset().top
     }, 300, function(){

       // when done, add hash to url
       // (default click behaviour)
       window.location.hash = hash;
     });

});
            
          
!
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