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

              
                	<header>
	  <div class="container clearfix">
	    <h1 class="logo">
	      MERIDIONAL
	    </h1>
	    <nav>
	      <a href="#section1">BLOG</a>
	      <a href="#services">SERVIÇOS</a>
	      <a href="#section3">CONTATO</a>
	    </nav>
	  </div><!-- end container -->
	</header><!-- end header -->
	<div class="hero-image">
	  <div class="hero-text">
	    <h1 class="animated fadeInUp">MERIDIONAL</h1>
	    <h3>CAPITAL</h3>
	  </div>
	</div>
	<section id="section1">
	  <div class="container who">
	    <div class="col-sm-8 col-sm-offset-2">
	    	<span class="sub">NOSSO TRABALHO</span>
	      <h2 class="intro">É Prestar a Acessoria Que sua Empresa Precisa</h2>
	      <p class="text-intro">Nulla accumsan, elit sit amet varius semper, nulla mauris mollis quam, tempor suscipit diam nulla vel leo. Etiam commodo dui eget wisi. Donec iaculis gravida nulla. Donec quis nibh at felis congue commodo. Etiam bibendum elit eget erat. Nam quis nulla. Integer malesuada. In in enim a arcu imperdiet malesuada.</p>
	    </div>
	  </div>
	</section>
	<section class="services">
	 <div class="row no-margin">
	    <div class="col-sm-4 nopadding">
	      <a href="#" class="service-box darker"></a>
	       <div class="service-text text-center">
	         <i class="fa fa-check fa-3x"></i>
	         <h3>Assesoria</h3>
	         <p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aliquam id dolor. Class aptent taciti sociosqu ad litora</p>
	       </div>
	    </div>
	    <div class="col-sm-4 nopadding">
	      <a href="#" class="service-box lighter"></a>
	      <div class="service-text text-center">
	      <i class="fa fa-codepen fa-3x"></i>
	      <h3>Emprestimo</h3>
	      <p>Aliquam id dolor. Class aptent taciti sociosqu ad litora. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
	       </div>
	    </div> 
	    <div class="col-sm-4 nopadding">
	      <a href="#" class="service-box darker"></a>
	      <div class="service-text text-center">
	      <i class="fa fa-codepen fa-3x"></i>
	      <h3>Seguro</h3>
	      <p>Aliquam id dolor. Class aptent taciti sociosqu ad litora. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
	      </div>
		</div>
	</div>
</section>
	<section id="section2">
	</section>
	<section id="footer">
		<div class="container">
			<div class="row">
				<div class="col-sm-6 company">
					<h1>MERIDIONAL</h1>
					<p>A fund group about someting a don't have idea. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aliquam id dolor. Class aptent taciti sociosqu ad litora.</p>
					<div id="social">
						<ul>
							<li><a href="#"><i class="fa fa-facebook"></i></a></li>
							<li><a href="#"><i class="fa fa-google-plus"></i></a></li>
							<li><a href="#"><i class="fa fa-twitter"></i></a></li>
						</ul>
					</div>
				</div>
				<div class="col-sm-2">
					<h5>Produtos</h5>
					<ul>
						<li><a href="#">Investimentos</a></li>
						<li><a href="#">Seguro</a></li>
						<li><a href="#">Capital</a></li>
					</ul>
				</div>
				<div class="col-sm-2">
					<h5>Blog</h5>
					<ul>
						<li><a href="#">Curtidas</a></li>
						<li><a href="#">Ultimas</a></li>
						<li><a href="#">Precisa Ler</a></li>
					</ul>
				</div>
				<div class="col-sm-2">
					<h5>Sobre</h5>
					<ul>
						<li><a href="#">Missão</a></li>
						<li><a href="#">Valores</a></li>
						<li><a href="#">Contato</a></li>
					</ul>
				</div>
			</div>
		</div>
	</section>
              
            
!

CSS

              
                body,html {
  height: 100%;
  margin: 0;
}

.no-margin {
  margin-right: 0px !important;
}

header{
  width: 100%;
  height: 100px;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background-color: rgba(1,1,1,.2);
  -webkit-transition: height 0.3s;
  -moz-transition: height 0.3s;
  -ms-transition: height 0.3s;
  -o-transition: height 0.3s;
  transition: height 0.3s;
}

header h1{
  display: inline-block;
  height: 100px;
  line-height: 100px;
  margin-top: 0;
  margin-left: 30px;
  float: left;
  font-family: Montserrat;
  font-weight: bold;
  font-size: 30px;
  color: white;
  text-transform: uppercase;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

header nav{
  display: inline-block;
  margin-right: 30px;
  float: right;
}

header nav a{
  line-height: 100px;
  margin-left: 50px;
  color: #dddddd;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none !important;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

header nav a:hover {
  color: #f36b21;
}

header.smaller {
  height: 60px;
  background-color: rgba(0, 0, 0, 0.9);
}

header.smaller h1{
  height: 60px;
  width: 150px;
  line-height: 60px;
  font-size: 20px;
}

header.smaller nav a{
  line-height: 60px;
}

/* Hero image */
.hero-image {
  background-image: url(http://furiouscamera.com/img/002.jpg);
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

/* Hero text */
.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

.hero-text h1{
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  font-size: 80px;
  font-weight: bold;
}

section{
  min-height: 100%;
  text-align: center;
  display: block;
}

section#section1{
  background-color: #f0f0ed;
}

/* INTRO TEXT */
.who{
  padding-top: 150px;
  text-align: center;
  top: 50%;
  left: 50%;
}

.sub{
  font-size: 12px;
  color: #f36b21;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  margin-bottom: 24px;
}

.intro {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 34px;
  margin-bottom: 37px;
  line-height: 50px;
}

.text-intro{
  color: #7a7a7a;
  font-size: 17px;
  line-height: 32px;
}

/* SERVICES */

.nopadding {
   padding: 0 !important;
}

section.services{
  background-image: url(http://deothemes.com/envato/canna/html/img/sections/services_bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  min-height: 100%;
}

.service-box {
  position: relative;
  display: block;
  padding: 400px 0;
  min-height: 100%;
  width: 100%;
}

.service-box:hover {
  background-color: rgba(0,0,0,.7);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.darker{
  background-color: rgba(0,0,0,.4);
}

.lighter{
  background-color: rgba(0,0,0,.2);
}

.service-text{
  width: 100%;
  top: 40%;
  padding: 0 20px;
  color: white;
  position: absolute;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.service-text p {
  opacity: 0;
  visibility: hidden;
  color: #fff;
  display: block;
  padding: 0 30px;
  text-align: center;
  width: 100%;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.service-text:hover p {
  opacity: 1;
  visibility: visible;
}

.service-text:hover{
  -moz-transform: translateY(-25%);
  -ms-transform: translateY(-25%);
  -o-transform: translateY(-25%);
  transform: translateY(-25%);
}

.service-text p{
  font-size: 16px;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: normal;
  line-height: 25px;
}

#footer{
  background-color: #171717;
  padding: 80px 0;
  min-height: 60%;
  color: #6c6c6c;
}

#footer ul{
  list-style: none;
  text-align: left;
  padding-left: 0px;
  font-size: 14px;
  line-height: 1.5;
}

#footer li{
  padding: 7px 0;
}

#footer a{
  color: #6c6c6c;
}

#footer p{
  color: #6c6c6c;
  text-align: left;
  margin-bottom: 30px;
}

#footer h5{
  color: #c9c9c9;
  margin-bottom: 26px;
  font-size: 16px;
  text-align: left;
  font-weight: bold;
}

#footer a:hover{
  color: #fff;
  text-decoration: none !important;
}

#footer h1{
  text-align: left;
  margin-top: 0px; 
  margin-bottom: 30px;
  width: 100%;
  float: left;
  font-family: 'Montserrat', sans-serif;
  color: #c9c9c9;
  font-weight: bold;
  font-size: 30px;
}

.company{
  padding-right: 50px;
}

#social li{
  display: inline;
  list-style: none;
  text-align: left;
  margin: 30px 20px;
}

/* BLOG-STUFF */

.blog-image {
  background-image: url(../img/blog-holder.jpg);
  height: 80%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.blog-title {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

.blog-title h2{
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  font-size: 60px;
  font-weight: bold;
}

.blog-content {
  padding: 60px 0px;
}

.category {
  padding: 20px 30px 20px 0px;
}

.category h3 {
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
  color: #424242;
  font-weight: bold;
  line-height: 1.2;
  border-bottom: 3px solid #eaeaea;
}

.category a{
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #6c6c6c;
  text-decoration: none !important;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.category a:hover{
  color: #f36b21;
  text-decoration: none !important;
}


.category ul{
  padding-left: 0;
}

.category li{
  list-style: none;
  padding: 10px 0px 10px 0px;
  margin: 10px 0px 10px 0px;
  text-align: left;
  width: 100%;
  border-bottom: 1px solid #eaeaea;
}

.recent {
  padding: 20px 30px 20px 0px;
}

.recent h3 {
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
  color: #424242;
  font-weight: bold;
  line-height: 1.2;
  border-bottom: 3px solid #eaeaea;
}

.recent a{
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #6c6c6c;
  text-decoration: none !important;
  width: 100%;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.recent a:hover{
  color: #f36b21;
  text-decoration: none !important;
}


.recent ul{
  padding-left: 0;
}

.recent li{
  list-style: none;
  padding: 10px 0px 10px 0px;
  margin: 10px 0px 10px 0px;
  text-align: left;
  width: 100%;
  border-bottom: 1px solid #eaeaea;
}

.recent span{
  color: #a3a3a3;
  width: 100%;
  font-family: "Open Sans", sans-serif;
  font-style: italic;
}

.search {
  padding: 20px 30px 20px 0px;
}

input[type="search"] {
  height: 38px;
  border: 1px solid #e6ebed;
  background-color: rgba(255,255,255,0.2);
  width: 100%;
  margin-bottom: 0px;
  padding: 0 16px;
  -webkit-transition: border-color 0.3s ease-in-out, background-color 0.3s ease-in-out;
  -moz-transition: border-color 0.3s ease-in-out, background-color 0.3s ease-in-out;
  -ms-transition: border-color 0.3s ease-in-out, background-color 0.3s ease-in-out;
  -o-transition: border-color 0.3s ease-in-out, background-color 0.3s ease-in-out;
  transition: border-color 0.3s ease-in-out, background-color 0.3s ease-in-out;
  color: #7a7a7a;
  font-size: 13px;
}

input[type="search"]:focus {
  border-color: #121212;
  outline: none;
  box-shadow: none;
  background-color: transparent;
}

.search .search-button {
  position: absolute;
  margin-left: -50px;
  top: 7px;
  right: 10px;
  background-color: transparent;
  border: none;
}

.search .search-button i {
  width: 14px;
  font-size: 13px;
}

.post-item{
  margin: 20px 8%;
}

.article-img {
}

.article-img img{
  position: relative;
  display: block;
  width: 100%;
  background-repeat: no-repeat;
}

.post-content{

}

article .article-desc{
  background-color: #f7f7f7;
  position: relative;
  padding: 40px;
}

article a:hover{
  -webkit-animation: shake 1s;
  animation: shake 1s;
}

article h2{
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #424242;
}

article p{
  font-size: 14px;
  color: #6c6c6c;
  font-weight: normal;
  line-height: 24px;
}

article a{
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  color: #f36b21;
}

article a:hover{
  color: #f36b21;
  text-decoration: none;
  color: #171717; 
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
              
            
!

JS

              
                $(window).scroll(function() {
  if ($(document).scrollTop() > 100) {
    $('header').addClass('smaller');
  } else {
    $('header').removeClass('smaller');
  }
});
              
            
!
999px

Console