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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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="jumbotron">
	  <nav class="navbar navbar-default">
		  <div class="container">
		    <!-- Brand and toggle get grouped for better mobile display -->
		    <div class="navbar-header">
		      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
		        <span class="sr-only">Toggle navigation</span>
		        <span class="icon-bar"></span>
		        <span class="icon-bar"></span>
		        <span class="icon-bar"></span>
		      </button>
		      
		    </div>

		    <!-- Collect the nav links, forms, and other content for toggling -->
		    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
		         	        
		      <ul class="nav navbar-nav navbar-right">
		        <li><a href="#" target="_blank">Home</a></li>
		        <li><a href="#" target="_blank">Achievments</a></li>
		        <li><a href="#" target="_blank">VIDEOS</a></li>
		        
		      </ul>
		    </div><!-- /.navbar-collapse -->
		  </div><!-- /.container-fluid -->
		</nav>	
	  <div class="container qoute">
	  	<h1>The Greatest Player of All Time</h1>
		  <p><span>“</span> Messi is out of this planet, I would say he is so far ahead of the rest of the players playing right now and I would say historically as well. There are not words to describe him. <span>”</span></p>
		  <p><a href="https://en.wikipedia.org/wiki/Osvaldo_Ardiles" target="_blank">Ossie Ardilles</a> , 2010</p>
		 
	  </div>

	</div>



	<section class="achievments">
		<h2 >Key Achievements</h2>
		<div class = "container">
			<div class ="row">
				<div class = "col-lg-3 col-sm-6 ach">
					<h3>Most goals for Argentina</h3>
					<div class="counter" data-count="58">0</div>
				</div>

				<div class = "col-lg-3 col-sm-6 ach">
					<h3>Most goals in La Liga</h3>
					<div class="counter" data-count="349">0</div>
				</div>

				<div class = "col-lg-3 col-sm-7 ach">
					<h3>Most goals for Barcelona</h3>
					<div class="counter" data-count="507">0</div>
				</div>

				<div class = "col-lg-3 col-sm-5 ach">
					<h3>Most goals scored in season</h3>
					<div class="counter" data-count="73">0</div>
				</div>

				

			</div>



			<div class ="row">
				<div class = "col-lg-3 col-sm-6 ach">
					<h3>Most league goals scored in a season</h3>
					<div class="counter" data-count="50">0</div>
				</div>

				<div class = "col-lg-3 col-sm-6 ach">
					<h3>Most Best Player in a La Liga Awards</h3>
					<div class="counter" data-count="6">0</div>
				</div>

				<div class = "col-lg-3 col-sm-6 ach">
					<h3>Most hat-tricks for Barcelona</h3>
					<div class="counter" data-count="37">0</div>
				</div>

				<div class = "col-lg-3 col-sm-6 ach">
					<h3>Most FIFA Ballon d'Or awards</h3>
					<div class="counter" data-count="5">0</div>
				</div>

				
			</div>


			<div class ="row">
				<div class = "col-lg-3 col-sm-6 ach">
					<h3>Most goals in a calender year</h3>
					<div class="counter" data-count="91">0</div>
				</div>

				<div class = "col-lg-3 col-sm-6 ach">
					<h3>Most consecutive matches scored</h3>
					<div class="counter" data-count="21">0</div>
				</div>

				<div class = "col-lg-3 col-sm-6 ach">
					<h3>Most assists in La Liga</h3>
					<div class="counter" data-count="135">0</div>
				</div>

				<div class = "col-lg-3 col-sm-6 ach">
					<h3>Most goals in El Claasicon</h3>
					<div class="counter" data-count="23">0</div>
				</div>

			</div>

		</div>

	</section>

	<section class="videos">
		
			<div class="container">
				  <div class="row">
				    <div class="col-sm-6 ">
				   
				      <h3>Lionel Messi - The Greatest Ever - The Movie - HD</h3>
				<div class="embed-responsive embed-responsive-16by9">
				    <iframe class="embed-responsive-item" src="https://www.youtube.com/embed/XgA1hWHkXOo"></iframe>
				</div>
				    </div>
				    <div class="col-sm-6">
				 

				      <h3>Lionel Messi ● Top 50 Goals ● 2004-2016 ● With Commentary | HD</h3>
				<div class="embed-responsive embed-responsive-16by9">
				    <iframe class="embed-responsive-item" src="https://www.youtube.com/embed/dcxzk3h9EWo"></iframe>
				</div>
				    </div>
				  </div>
			</div>

	</section>

	<footer>
		 <div class="container">
		 	
		 		
		 	<ul class="nav navbar-nav navbar-right" id="footernav">
		        <li><a href="https://en.wikipedia.org/wiki/Lionel_Messi" target="_blank">More about Lionel Messi</a></li>
		        <li><a href="#" target="_blank">Home</a></li>
		        <li><a href="#" target="_blank">Achievments</a></li>
		        <li><a href="#" target="_blank">Videos</a></li>
		        
		 </ul>

		 </div>
		 

	</footer>
              
            
!

CSS

              
                body {
	font-family: Mukta;
	letter-spacing: 2px;
	
}

.jumbotron {
	height: 100vh;
	background-image: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.3)), url("https://cdn.pixabay.com/photo/2017/01/25/17/20/lionel-2008448_960_720.jpg");
	background-repeat: no-repeat;
	background-size: 100%;
	background-attachment: fixed;
	margin-bottom: 0;

}

.navbar-default{
	background-color: transparent;
	border: none;
}

.navbar-default .navbar-nav>li>a {
	color: white;
	text-transform: uppercase;
	letter-spacing: 2px;
	transition: 0.2s;
}


.navbar-brand>li>a {

}
.navbar-default .navbar-nav>li>a:hover {
	color: #16408F;
	border-bottom: 2px solid #16408F;
	
}

.qoute {
	padding-top: 30%;
	color: white;

}

.qoute h1 {
	text-transform: uppercase;
	font-weight: normal;
}

.qoute p {
	text-transform: uppercase;
	
}

.qoute p a {
	color: white;
	transition: 0.2s

}

.qoute p a:hover {
	text-decoration: none;
	color: #16408F;
	border-bottom: 2px solid #16408F;
}



/*  Section = Achiements*/




.achievments {
	text-align: center;
	color: white;
	background-color: #f7f7f7;
  
}

.achievments .row {
	margin-bottom: 30px;
}
.counter {
 
  margin: 10%;
  font-size:50px;
  background-color: #0F6491;
  width:200px;
  border-radius: 50%;
  height:200px;
  vertical-align: middle;
  line-height: 200px;
  text-align: center;

}

section h2 {
	text-transform: uppercase;
	padding: 60px 0;
	color: #16408F;
	margin-top: 0px;

}

.achievments h3 {
	text-transform: uppercase;
	text-align: center;
	color: #222;
}

.ach {

}

.videos{
	padding: 80px 0;


}



.videos h3{
	margin-bottom: 60px;
	
}

footer {
	background-color:  #f7f7f7;
}

#footernav {
	text-align: center;
}

.nav>li>a{
	    color: #337ab7;
    text-decoration: none;
}
              
            
!

JS

              
                $('.counter').each(function() {
  var $this = $(this),
      countTo = $this.attr('data-count');
  
  $({ countNum: $this.text()}).animate({
    countNum: countTo
  },

  {

    duration: 8000,
    easing:'linear',
    step: function() {
      $this.text(Math.floor(this.countNum));
    },
    complete: function() {
      $this.text(this.countNum);
      //alert('finished');
    }

  });  
  
  

});
              
            
!
999px

Console