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

              
                <body>
  <div class="flexbox1">
    <div class="section-0 background-0">
    <div class="hero_text">
      <span class="heading"><a class="fade-in one">Collaborate.</a> <a class="fade-in two">Experiment. </a><a class="fade-in three">Win.</a></span>
      </a>
    </div>
  </div>
  <div class="nav_bar">
    <div class="item-1"><a href="#cta">Problem&nbsp&nbsp<span class="chevron bottom"></span></a>
    </div>
    <div class="item-2"><a href="#heatmap">Heatmap&nbsp&nbsp<span class="chevron bottom"></span></a>
    </div>
    <div class="item-3"><a href="#other">Other Data&nbsp&nbsp<span class="chevron bottom"></span></a>
    </div>
    <div class="item-4"><a href="#hypothesis">Hypothesis&nbsp&nbsp<span class="chevron bottom"></span></a>
    </div>
    <div class="item-5"><a href="#vote">Vote&nbsp&nbsp<span class="chevron bottom"></span></a>
    </div>
  </div>
  <div class="border_box">
  <div class="border_box_inner" style="display:block; margin: 0 auto; border-bottom: solid 1px #C7C7C7; width: 90%;">
  </div>
</div>
		<div class="section-1">
      <img src="https://freeiconshop.com/wp-content/uploads/edd/handshake-flat.png" alt="handshake" width="160" height="160" style="padding: 30px;">
      <span class="heading-1">Build an experimentation culture.  Contribute your ideas. Win big.</span>
      <a style="font-size: 16px; font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; !important; line-height: 1;">Each week we will feature a challenge from a real IBM webpage and data to help inform hypotheses generation.<br>Submit your idea for a chance to be selected as the proposed solution for implementation!</a><br>
      <br><a class="cta-button" href="#cta">Start Now</a>
		</div>
    <div class="section-2">
      <div class="section-2-content">
      <div class="page-heading">
        <a name="cta"><span>IBM Marketplace Homepage</span></a>
      </div>
      <img class="main-image" src="http://www.marketingmagazine.com.my/images/IBM_Marketplace.jpg" href="www.ibm.com" alt="page-screenshot" height="500" width="800">
      <div class="synopsis">
        <span>The goal of this experiment is xyz</span>
      </div>
    </div>
  </div>
	</div>
  <div name="heatmap" class="hotjar_heatmap">
    <div class="heatmap-content" style="padding: 40px;">
    <div class="heatmap-heading">
    <a name="heatmap"> Hotjar Heatmap</a>
    </div><br>
    <img src="https://www.hotjar.com/hubfs/Image/b_1_hotjar_move_heatmap.png?t=1487966948936" alt="hotjar heatmap" style="display: block; margin: 0 auto;">
  </div>
  </div>
  </div>
  <div class="other_resources">
    <div class="funnel-heading">
    <span> Hotjar Funnel</span>
    </div>
    <img src="http://stryvemarketing.com/wp-content/uploads/2016/03/hotjar-conversion-funnel.jpg" alt="hotjar funnel" style="border: solid 1px #000000; width:600px; height:400px; display: block; margin: 0 auto; margin-top: 50px;">
  </div>
<div class="submissions">
  <div class="heading-3">
    <a class="heading-3" name="hypothesis">Formulate your Hypothesis</a>
  </div>
  <textarea id="textarea"
   rows="5" cols="100" style="display:block; margin: 0 auto;">Write something here</textarea>
  <div class="answer-board">
    <a class="answer-1"><span id="answer-1"></span></a>
  </div>
</div>
</div>
</body>
              
            
!

CSS

              
                .flexbox1 {
  display: flex;
  flex-direction: column;
}

.section-0 {
  position: relative;
	background-image:url(http://orbetal.com/wp-content/uploads/2016/03/portfolio-banner.png);
	background-size:cover;
	padding:12rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  
}

.background-0 {
background-color: #000000;
  z-index: 1000;
}

.nav_bar {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 70px;
  border-bottom;
}

.item-1, .item-2, .item-3, .item-4, .item-5 {
  font-family: "HelveticaNeue-light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-size: 18px;
  padding-left: 100px;
  padding-right: 100px;  
}

a:link {
  text-decoration: none;
  color: #000000;
}

a:visited {
  text-decoration: none;
  color: #000000;
}

.chevron.bottom:before {
	top: 0;
	transform: rotate(135deg);
}
.section-1, .heading-1 {
	font-size: 30px;
	font-family: "HelveticaNeue-light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  display: block;
  margin: 0 auto;
  text-align: center;
}

.section-2-content {
  padding: 40px;
}

.hero_text {
  position: static;
	width:100%;
	max-width:1440px;
	margin:auto;
	padding:2rem;
  color: #ffffff;
  margin: 0 auto;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-size: 60px;
  text-align: center;
  top: 50%;
}

.cta-button {
  font-size: 20px;
  border: solid 3px #FF5003;
  padding: 15px;
  color: #464646;
  text-decoration: none;
  display: block;
  margin: 0 auto;
  width: 100px;
  
}

.cta-button:hover {
  background-color: #FF5003;
  color: #ffffff;
}

.main-image {
  display: block;
  margin: 0 auto;
  margin-top: 50px;
  border: solid 1px #000000;
}

.page-heading {
  text-align: center;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-size: 36px;
}

.synopsis {
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-size: 24px;
  text-align: center;
  margin-top: 25px;
}

.flexbox2 {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.column-1 {
  margin-right: 250px;
  width: 300px;
  margin-bottom: 40px;
}

.column-2 {
  width: 300px;
  margin-bottom: 40px;
}

.column-1-headline, .column-2-headline {
  text-align: center;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-size: 36px;
}

.chevron::before {
	border-style: solid;
	border-width: 0.25em 0.25em 0 0;
	content: '';
	display: inline-block;
	height: 0.45em;
	left: 0.15em;
	position: relative;
	top: 0.15em;
	transform: rotate(-45deg);
	vertical-align: top;
	width: 0.45em;
}

.chevron.bottom:before {
	top: 0;
	transform: rotate(135deg);
}

.hotjar_heatmap {
  background-color: #E0E0E0;
}

.hotjar_heatmap {
  text-align: center;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-size: 36px;
}

.other_resources, .funnel-heading, .heading-3 {
  font-size: 36px;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  display: block;
  margin: 0 auto;
  padding: 10px;
  text-align: center;
}

@media only screen and (max-width:1000px){
	
	.section-{
		.hero_text{
			font-size:40px;
		}
	}
}


@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.fade-in {
  opacity:0;  /* make things invisible upon start */
  -webkit-animation:fadeIn ease-in 1;  /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */
  -moz-animation:fadeIn ease-in 1;
  animation:fadeIn ease-in 1;

  -webkit-animation-fill-mode:forwards;  /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
  -moz-animation-fill-mode:forwards;
  animation-fill-mode:forwards;

  -webkit-animation-duration:1s;
  -moz-animation-duration:1s;
  animation-duration:1s;
}

.fade-in.one {
  -webkit-animation-delay: 0.7s;
  -moz-animation-delay: 0.7s;
  animation-delay: 0.7s;
}

.fade-in.two {
  -webkit-animation-delay: 1.2s;
  -moz-animation-delay:1.2s;
  animation-delay: 1.2s;
}

.fade-in.three {
  -webkit-animation-delay: 1.6s;
  -moz-animation-delay: 1.6s;
  animation-delay: 1.6s;
}
              
            
!

JS

              
                
              
            
!
999px

Console