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>
  <div class = "container-fluid" id="parent1">

  <div class="navbar navbar-fixed-top">
    <ul class="nav">
        <li><a class="nav_bar_text" href=#intro>Home</li></a>
        <li><a class="nav_bar_text" href="#about">About</li></a>
        <li><a class="nav_bar_text" href="#projects">Projects</li></a>
        <li><a class="nav_bar_text" href="#contact">Contact</li></a>
    </ul>
</div>
<!--   
   <div class= "row">
    <nav class="navbar navbar-fixed-top" >
    <div class="container-fluid">
       
        <div class="navbar-header">
            <button type="button" data-target="#navbarCollapse" data-toggle="collapse" class="navbar-toggle">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a href="#" class="navbar-brand">Mina</a>
        </div>
        
        <div id="navbarCollapse" class="collapse navbar-collapse">
            <ul class="nav navbar-nav" id="nav">
                <li class="active"><a href="#intro">Home</a></li>
                <li><a href="#about">About</a></li>
                <li><a href="#projects">Projects</a></li>
                <li><a href="#contact">Contact</a></li>
            </ul>

        </div>
    </div>
</nav> -->
    
    <div id = "intro" class="row">
      <div id = "logo" class="center">
        <span id = "mina" >
          <span class ="mm">M</span>
          <span class ="mi">i</span>
          <span class ="mn">n</span>
          <span class ="ma">a</span>
        </span>
      </div>
      
      <div id = "section-nav" class = "col-md-12" >
        <ul class = "nav justify-content-center">
          <li class="nav-item  navbar-btn">
            <a href="#about">About</a>
          </li>
          <li class="nav-item navbar-btn">
            <a href="#projects ">Projects</a>
          </li>
          <li class="nav-item navbar-btn">
            <a href="#contact ">Contact </a>
          </li>
        </ul>
      </div>
      
      <div class = "centered">
        
        <a href="#" class="fa fa-facebook"></a>
        <a href="#" class="fa fa-twitter"></a>
        
      </div>
      
    </div>
<br>

    <div id = "about" class="row">
      <h1 class="centered display-4 text-color" >About</h1>
      <div class="row">
      <div class = "col-md-8">
        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed massa turpis, consectetur vel porta ut, vulputate vitae mi. Quisque congue finibus erat ac sagittis. Quisque tristique ut justo eget euismod. Etiam varius ac erat vel tempus. Mauris pulvinar, neque non ultricies tempor, neque massa congue sapien, nec tincidunt risus quam a diam. Quisque eu eros id massa interdum sodales. Suspendisse condimentum nunc lorem, eget interdum sapien sodales eget. Donec pretium a nisl id elementum. Suspendisse scelerisque consectetur nunc ac ullamcorper. Proin sed leo id felis facilisis fringilla eget eu leo. Nullam faucibus aliquam tempor. In cursus, erat vel euismod efficitur, elit eros ornare lectus, viverra pretium nulla dui sed turpis. Ut sed metus ante. Nam ornare, augue eu tempus molestie, nibh risus suscipit mauris, at elementum nisi nisi a risus.</p>
      </div>
      
      <div class = "col-md-4">
        <img class="img-responsive img-circle" src="https://s-media-cache-ak0.pinimg.com/736x/8d/13/b6/8d13b6007a71ff1a51d1697e3253438f.jpg">
      </div>
      </div>
    </div>

    <div id = "projects" class="row">
      
      <h1 class="centered display-4 text-color" >Projects</h1>
      <div id="gallery1" style="margin:0px auto;">

						<a href="http://en.wikipedia.org/wiki/Persimmon">
						<img alt="persimmon"
						     src="http://unitegallery.net/newimages/apple-300x225.jpg"
						     data-image="http://unitegallery.net/newimages/cherry.jpg"
						     data-description="This is a persimmon"
						     >
						</a>

						<a href="http://en.wikipedia.org/wiki/Pomegranate">
						<img alt="pomegranate"
						     src="http://unitegallery.net/newimages/banana-300x199.jpg"
						     data-image="http://unitegallery.net/newimages/Pomegranate.jpg"
						     data-description="This is a pomegranate"
						     >
						</a>
        
            <a href="http://en.wikipedia.org/wiki/Pomegranate">
						<img alt="pomegranate"
						     src="http://unitegallery.net/newimages/banana-300x199.jpg"
						     data-image="http://unitegallery.net/newimages/Pomegranate.jpg"
						     data-description="This is a pomegranate"
						     >
						</a>
        
            						<a href="http://en.wikipedia.org/wiki/Pomegranate">
						<img alt="pomegranate"
						     src="http://unitegallery.net/newimages/banana-300x199.jpg"
						     data-image="http://unitegallery.net/newimages/Pomegranate.jpg"
						     data-description="This is a pomegranate"
						     >
						</a>


		
		 </div>
    </div>

    <div id= "contact" class="row">
      <h1 class="centered display-4 text-color" >Contact me</h1>
      <div class= "container">
        <form>
          <div class = "form-group row">
            <label for="email" class= "col-sm-2 col-form-label"> Email Address </label>
            <div class= "col-sm-10">
              <input type = "email" class="form-control" id="email" placeholder="Email">
            </div>   
          </div>
          <div class = "form-group row">
            <label for="message" class= "col-sm-2 col-form-label"> Your message here </label>
            <div class= "col-sm-12">
              <textarea = "email" class="form-control" id="message" rows="3" placeholder="Your message here"></textarea>
            </div>   
          </div>
          <button type="submit" class="btn btn-primary">Submit</button>
          
        </form>
          
        </div>
    </div>
  </div>
 
</body>

            
          
!
            
              

#parent1{
background: #8e9eab;  /* fallback for old browsers */
background: -webkit-linear-gradient(to top, #eef2f3, #8e9eab);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to top, #eef2f3, #8e9eab); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */


}
.navbar
{
  float:top;
  width:100%;
  height:30px;
  display:inline-block;
  background-color: rgba(0, 0, 0, 0.5);
}
.nav {
      list-style-type: none;
      margin: 0;
      padding: 20px 0;
    }
    
    .nav li a {
      color: #fff;
      display: inline;
      font-family: 'Raleway', sans-serif;
      font-weight: 600;
      font-size: 12px;
      margin-right: 25px;
      text-transform: uppercase;
    }
.navbar-nav
{
  float:top;
  width:100%;
  height:30px;
  display:inline-block;
}
.btn-grp{
  width:100%;
}

#intro{
    width: 1050px;
    height:500px;
    margin: auto;
    
}


#about{
    width: 1050px;
  height:500px;
  margin: auto;
}

#projects{
    width: 1050px;
  height:500px;
  margin: auto;
}

#contact{
    width: 1050px;
  height:500px;
    margin: auto;
}

 #logo{ 
   color:#FFF; font-size:80px; margin-bottom:50px; margin-top:50px; }
  
  
#logo span{ 
  display:inline-block; }

.center{
  margin: auto;
}

#section-nav{
  backgroud-color:pink;
}

.navbar-btn:hover{
  
  opacity:0.7;
  
}



/* Animations */

    /* logo */
   /*  .mm { 
        animation-delay:0.6s; -moz-animation-delay:0.6s; -webkit-animation-delay:0.6s; }
    .mi { 
        animation-delay:0.6s; -moz-animation-delay:0.6s; -webkit-animation-delay:0.6s; }
    .mn {
        animation-delay:0.6s; -moz-animation-delay:0.6s; -webkit-animation-delay:0.6s; }
    .ma {
        animation-delay:0.6s; -moz-animation-delay:0.6s; -webkit-animation-delay:0.6s; } */
    #mina {
        animation-delay:0.6s; -moz-animation-delay:0.6s; -webkit-animation-delay:0.6s; } 

.centered{
  display: table;
  margin: 0 auto;
  margin : 0 auto; 
}

.fa{
  padding :10px;
  font-size: 30px;
  text-align: center;
  border-radius:50%;
}

.fa:hover{
  opacity : 0.7;
}

.fa-facebook {
    background: #3B5998;
    color: white;
}


.fa-twitter {
    background: #55ACEE;
    color: white;
}

.text-color{
  color:#FFF;
}
            
          
!
            
              $(document).ready(function(){
    $(".mm").addClass("animated bounce");
    $("#mina").children().addClass("animated rollIn");
});
//for smooth scrolling effect
// Select all links with hashes
$('a[href*="#"]')
  // Remove links that don't actually link to anything
  .not('[href="#"]')
  .not('[href="#0"]')
  .click(function(event) {
    // On-page links
    if (
      location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') 
      && 
      location.hostname == this.hostname
    ) {
      // Figure out element to scroll to
      var target = $(this.hash);
      target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
      // Does a scroll target exist?
      if (target.length) {
        // Only prevent default if animation is actually gonna happen
        event.preventDefault();
        $('html, body').animate({
          scrollTop: target.offset().top
        }, 1000, function() {
          // Callback after animation
          // Must change focus!
          var $target = $(target);
          $target.focus();
          if ($target.is(":focus")) { // Checking if the target was focused
            return false;
          } else {
            $target.attr('tabindex','-1'); // Adding tabindex for elements not focusable
            $target.focus(); // Set focus again
          };
        });
      }
    }
  });


			jQuery(document).ready(function(){
	
				jQuery("#gallery1").unitegallery({
					gallery_width:"100%",
					tile_border_color:"#7a7a7a",
					tile_outline_color:"#8B8B8B",
					tile_enable_shadow:true,
					tile_shadow_color:"#8B8B8B",
					tile_overlay_opacity:0.3,
					tile_show_link_icon:true,
					tile_image_effect_type:"sepia",
					tile_image_effect_reverse:true,
					tile_enable_textpanel:true,
					lightbox_textpanel_title_color:"e5e5e5",
					tiles_col_width:230,
					tiles_space_between_cols:20
				});
	
			});

            
          
!
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.

Console