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

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="logo">
<!--     <span class="logo--wordmark">FUTURE</span> -->
<!--     <span class="command--symbol">&#x2318;</span> -->
  </div>
</header>

<main>
  
  <section id="intro">
    <div class="container-fluid content__wrapper">
      <article id="welcome-msg" class="col-sm-8">
        <div class="content__copy">
          <p>Hi, Konichiwa we are <span class="logo--wordmark">FUTURE</span><span class="command--symbol">&#x2318;</span>.</p>
          <p>We believe in the little guys who want to change the world. We want to help them with their big ideas for the future.</p>
        </div>
      </article>
<!--       <article id="how-msg">
        <div class="content__copy">
          <h2>How</h2>
          <p>We do that by designing simple minimalistic identities and brands built with our rich design process.</p>
        </div>
      </article> -->
<!--       <article id="what-msg">
        <div class="content__copy">
          <h2>What</h2>
          <p>We give meaningful and powerful visual brand identities and stories that move their visions into the future, so they can change the world.</p>
          <p><small>View select projects below</small></p>
        </div>
      </article> -->
    </div>
  </section>
  <section id="work">
    <div class="content__wrapper container-fluid">
      <article id="work-msg" class="col-8">
        <div class="content__copy">
          <h2>Our Work</h2>
          <p>We give our clients stories built into their identities that capture a sense people understand and value.</p>
          <p><small>View select projects below</small></p>
        </div>
      </article>
    </div>
  </section>
<!--   <section id="portfolio">
    <div class="content__wrapper">
      <article class="portfolio__item" id="portfolio__item1-1">
        <div class="content__copy">
          <h2>Portfolio Item #1-1</h2>
          <a href="#">View Project</a></div>
        
      </article>
      <article class="portfolio__item" id="portfolio__item2-1">
        <div class="content__copy">
          <h2>Portfolio Item #2-1</h2>
          <a href="#">View Project</a></div>
        
      </article>
      <article class="portfolio__item" id="portfolio__item3-1">
        <div class="content__copy">
          <h2>Portfolio Item #3-1</h2>
          <a href="#">View Project</a></div>
        
      </article>
    </div>
  </section> -->
  
<!--   <section id="process">
    <div class="content__wrapper">
        <article id="toolbox-msg" class="">
      <div class="content__copy">
        <h2>Toolbox</h2>
        <p>Striving for valuable sense through research, empathy, and defined minimalistic delivery.</p>
        <p><small>View select projects below</small></p>
          
      </div></article>
    </div>
  </section> -->
<!--   <section id="capabilities">
    <div class="content__wrapper">
      <article id="capabilities-msg" class="">
        <div class="content__copy">
        <h2>Capabilities</h2>
        
        <ul>
          <li>
            <h3>Brand Development</h3>
            <p>Using our intuitive sense to position brands that relate to consumers, all the while enhancing their lives.</p>
            <ul>
              <li>Strategy</li>
              <li>Naming</li>
              <li>Visual Identity Design</li>
              <li>Package Design</li>
              <li>Art Direction</li>
            </ul>
              
            </li></ul>
      </div>
      </article>
    </div>
  </section> -->
<!--   <section id="community">
    <div class="content__wrapper">
      <article id="community-msg" class="">
      <div class="content__copy">
        <h2>Headline</h2>
        <p>Text</p>
      </div></article>
    </div>
  </section> -->
  <section id="contact">
    <div class="content__wrapper container-fluid">
      <article id="contact-msg" class="row">
        <div class="content__copy col-12">
          
          <div class="contact-wrapper">
            <div class="col-12">
              <h2>Contact</h2>
            <p>Fusce congue venenatis urna non congue. Donec blandit eget nisi eget cursus. Vivamus accumsan dui libero, eget congue diam bibendum ut.</p>
            <form action="">
              <ul class="col-12">
                <li class="flex">
                  <label for="name" class="col-4">Name</label>
                  <input type="text" id="name" placeholder="Your name." class="col-8">
                </li>
                <li class="flex">
                  <label for="email" class="col-4">Email</label>
                  <input type="text" id="email" placeholder="youremail@email.com" class="col-8">
                </li>
                <li class="flex">
                  <label for="message" class="col-4">Message</label>
                  <textarea rows="4" id="message" placeholder="Your message." class="col-8"></textarea>
                </li>
              </ul>
            </form>
              </div>
          <div class="row">
            <div class="col-8">
              <h3>Address</h3>
              <address>
                <p>〒7380001 広島県廿日市市佐方 615 - 14</p>
                <p>〒7380001 Hiroshima-Ken, Hatsukaichi-Shi Sagata 615- 34</p>
              </address>
            </div>
            <div class="col-4">
              <h3>Phone</h3>
              <p><a href="tel:09036383420">09036383420</a></p>
            </div>
          </div>
          <div class="row">
            <div class="col-6">
              <h3>Social</h3>
              <ul class="list">
              <li class="list-item__social col-3">
                <a href="#"><span class="fab fa-instagram"></span></a>
              </li>
              <li class="list-item__social col-3">
                <a href="#"><span class="fab fa-facebook-f"></span></a>
              </li>
              <li class="list-item__social col-3">
                <a href="#"><span class="fab fa-twitter"></span></a>
              </li>
              <li class="list-item__social col-3">
                <a href="#"><span class="fab fa-line"></span></a>
              </li>      
            </ul>
            </div>
            </div>
        </div>
      </div></article>
    </div>
  </section>
  
</main>


<nav>
  <a href="#" class="nav__trigger"><span class="command--symbol">&#x2318;</span></a>
  <ul class="nav__links">
    <li><a href="#intro">Welcome</a></li>
    <li><a href="#work">Our Work</a></li>
    <li><a href="#capabilities">Capabilites</a></li>
    <li><a href="#process">Our Process</a></li>
    <li><a href="#community">Community</a></li>
    <li><a href="#contact">Contact Us</a></li>
  </ul>
</nav>


<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.5/ScrollMagic.min.js"></script> -->
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700');

* {
  box-sizing: border-box;
}

html, body, main {
  height: 100%;
  width: 100%;
}
body {
  background-color: #f5f5f5;
}
main {
  padding: 2em;
  background-color: #f5f5f5;
}
.flex {
  display: flex;
}
small {
  font-size: 75%;
}
h2 {
  font-weight: 600;
  font-size: 1.5em;
  margin-bottom: 0.25em
}

header {
  display: flex;
  position: fixed;
  z-index: 9001;
  flex-wrap: nowrap;
  justify-content: space-between;
  padding: 0.25em 2em;
  font-size: 2em;
  font-family: 'Open Sans';
  font-weight: 700;
  height: 54px;
  width: 100%;
  background-color: #f5f5f5;
  transition: all 0.6s ease;
  transition-property: background-color, height;
}
header.is-open {
  position: fixed;
  height: 100vh;
/*   width: 100%; */
  background-color: #ff7bac;
}
.command--symbol {
  font-weight: 400;
}
.logo {
    text-align: right;
    position: relative;
    z-index: 9002;
    right: 0em;
    top: 0em;
    background-image: url(http://aaronletourneau.ca/futurecmd/img/future_cmnd_logo.png);
    height: 100%;
    width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.logo span {
  display: inline-block;
}

header div {
  position: relative;
  top: 50%;
  display: block;
}

nav {
  width: 54px;
  height: 54px;
  position: fixed;
  bottom: 3vh;
  left: 50%;
  transform: translateX(-50%);
}
nav .command--symbol {
  font-size: 2em;
  margin: 0 auto;
  position: relative;
  line-height: 52px;
  text-align: center;
  color: #fff;
}
a.nav__trigger {
  text-decoration: none;
  color: #000;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
  display: block;
  height: 54px;
  width: 54px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  background-color: #ff7bac;
  border-radius: 50%;
  padding: 0.125em;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
a.nav__trigger:hover {
  color: #ff7bac;
}
header.is-open a.nav__trigger {
  color: #fff;
}
.nav__links {
  position: fixed;
  top: 50vh;
  left: 9em;
  transform: translateY(-50%);
  transition: opacity 0.3s ease, visibility 0.3s ease;
  visibility: hidden;
  opacity: 0;
/*   -webkit-transform: translate3d(0,0,0); */
}
.is-open .nav__links {
  visibility: visible;
  opacity: 1;
}
.nav__links li {
  padding: 0.3em 0;
}
.nav__links a {
  text-decoration: none;
  color: #000;
}

section,
section article {
/*   min-height: 100vh; */
  width: 100%;
  position: relative;
  height: 100%;
}
#welcome-msg .content__copy {
  position: absolute;
  top: 50%;
}
#work .content__copy {
  position: absolute;
  top: 50%;
}
.content__wrapper {
  height: 100%;
  width: 100%;
  position: relative;
}

.content__copy {
/*   position: absolute; */
/*   left: 50%; */
/*   top: 50%; */
  font-family: 'Open Sans';
  font-size: 1.75em;
  font-weight: 400;
/*   max-width: 28em; */
/*   transform: translate(-60%, -120%); */
}
.content__copy p {
  line-height: 1.25em;
}


.portfolio__item {
/*   background-color: rgba(255,123,172,1); */
/*   background-image: url('http://placekitten.com/g/1920/1280/'); */
}
section#portfolio .content__copy {
  position: relative;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

section#portfolio .content__wrapper {
/*   display: flex; */
/*   overflow: hidden; */
  width: 100%;
}
section#portfolio .content__wrapper article {
/*   display: inline-block; */
  width: 100%;
  height: 100vh;
/*   position: absolute; */
}

/* .portfolio__wrapper {
  display: flex;
  width: 100%;
} */

.portfolio__item a {
  padding: 1em 2em;
  border: 1px solid #000;
  text-decoration: none;
  color: #000;
  display: inline-block;
}

.portfolio__item {
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: 50% 50%;
  max-height: 33vh;
  min-height: initial;
}

#portfolio__item1-1 { background-image: url('http://lorempixel.com/output/abstract-q-c-1920-1280-9.jpg'); }
#portfolio__item2-1 { background-image: url('http://lorempixel.com/output/abstract-q-c-1920-1280-8.jpg'); }
#portfolio__item3-1 { background-image: url('http://lorempixel.com/output/abstract-q-c-1920-1280-7.jpg'); }
#portfolio__item4-1 { background-image: url('http://lorempixel.com/output/abstract-q-c-1920-1280-6.jpg'); }


.contact-wrapper {
/*   display: flex; */
/*   justify-content: space-between; */
}
form {
  display: block;
/*   border: 1px solid #fff; */
  width: 100%;
  margin-top: 1em;
}
form label {
  font-weight: 100;
  font-size: 0.8em;
  text-transform: uppercase;
  text-align: right;
}
input[type="text"] {
/*   width: 100%; */
/*   display: block; */
  border: 1px solid #f5f5f5;
  background-color: #fff;
}
form li {
  margin: 0.25em;
}
textarea {
  border: 1px solid #f5f5f5;
  background-color: #fff;
}
#contact h3 {
    margin-top: 1.2em;
    margin-bottom: 0.25em;
    font-weight: 100;
    text-transform: uppercase;
}
.list {
  display: flex;
  justify-content: space-between;
}
.list-item__social {
  
}

.svg-inline--fa {
  color: #000000;
}
              
            
!

JS

              
                
// -----------------------------------
// Prevent Defaults
// -----------------------------------

$('a[href="#"]').click(function(event) {
  event.preventDefault();
});

$('a[href="#0"]').click(function(event) {
  event.preventDefault();
});

$('button').click(function(event){ 
    event.preventDefault(); 
});


$(".nav__trigger").on("click", function() {
  $("header").toggleClass("is-open");
});


$(".nav__links a").on("click", function() {
  $("header").removeClass("is-open");
});



// -----------------------------------
// Smooth Scrolling Links
// -----------------------------------

$('a[href*=#]:not([href=#])').click(function() {
  if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') || location.hostname == this.hostname) {

    var target = $(this.hash);
    target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
    if (target.length) {
      $('html,body').animate({
        scrollTop: target.offset().top
      }, 500);
      return false;
    }
  }
});










// 	$( document ).ready(function () { // wait for document ready
// 		init
// 		var controller = new ScrollMagic.Controller();

// 		// define movement of panels
// 		var wipeAnimation = new TimelineMax()
// 			.fromTo("article#portfolio__item1-1", 1, {y: "-100%"}, {y: "0%", ease: Linear.easeNone})  // in from bottom
// 			.fromTo("article#portfolio__item2-1", 1, {y: "-100%"}, {y: "0%", ease: Linear.easeNone})  // in from bottom
			// .fromTo("article#portfolio__item2-2", 1, {x: "100%"}, {x: "0%", ease: Linear.easeNone})  // in from right
			// .fromTo("article#portfolio__item2-3", 1, {x: "100%"}, {x: "0%", ease: Linear.easeNone})  // in from right
			// .fromTo("article#portfolio__item3-1", 1, {y: "-100%"}, {y: "0%", ease: Linear.easeNone}) // in from bottom
			// .fromTo("article#portfolio__item3-2", 1, {x: "-100%"}, {x: "0%", ease: Linear.easeNone}) // in from right
			// .fromTo("article#portfolio__item3-3", 1, {x: "-100%"}, {x: "0%", ease: Linear.easeNone}) // in from right
			// .fromTo("section.panel.green",    1, {x:  "100%"}, {x: "0%", ease: Linear.easeNone})  // in from right
			// .fromTo("section.panel.bordeaux", 1, {y: "-100%"}, {y: "0%", ease: Linear.easeNone}); // in from top

		// create scene to pin and link animation
	// 	new ScrollMagic.Scene({
	// 			triggerElement: "#portfolio.content__wrapper",
	// 			triggerHook: "onLeave",
	// 			duration: "200%"
	// 		})
	// 		.setPin("#portfolio.content__wrapper")
	// 		.setTween(wipeAnimation)
	// 		.addTo(controller);
	// });






              
            
!
999px

Console