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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

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.

HTML

            
              <!-- BEG ORBIT SLIDER -->
<div class="orbit-container">
  <ul class="example-orbit-content" data-orbit>
    			<li style="background-image:url(http://placeimg.com/1640/1300/any)">
      <div class="image-text">
        			<h2>
          <span>Put Something here</span>
          <span>Say something clever here</span>
        </h2>
        <ul>
          <li class="has-form">
							            <a href"#" class="button">Your Button here</a>
						          </li>
        </ul>
      </div>
    		</li>
		  </ul>
</div><!-- END ORBIT SLIDER -->
            
          
!

CSS

            
              /* Orbit fullscreen background slider */

.orbit-container {
  width: 100%;
  height: 100%;
}

.orbit-slides-container {
  width: 100%;
  height: 100% !important;
}
.orbit-slides-container li {
  width: 100%;
  height: 100%;
  background-repeat:no-repeat;
  background-position:center;
  background-size: cover;
}

/* Your Button */

.button {
  top: 247px;
  left: 900px;
}


/* Transparent Box */

.transbox
  {
  width:400px;
  height:180px;
  margin:50px 70px;
  background-color:#ffffff;
  border:1px solid black;
  opacity:0.6;
  filter:alpha(opacity=60); /* For IE8 and earlier */
  }
.transbox p
  {
  margin:30px 40px;
  font-weight:bold;
  color:#000000;
  }

.image-text h2 {
  position: absolute;
  top: 150px; /* Change the vertical position here */
  left: 0;
  width: 100%;
  color: #fff;
}

.image-text span {
  float: right;
  clear: right;
  color: #CAA921; /* Change font color here */
  font-family: 'sans-serif', serif;
  font-size: 48px;
  letter-spacing: -1px;
  background: rgb(0, 0, 0); /* fallback color */
  background: rgba(46, 50, 126, 0.5); /* Change the transparent text background here */
  padding: 3px 10px;
}
            
          
!

JS

            
              <!-- INITIALIZE foundation.min.js -->
<!-- $(document).foundation(); -->

 <!-- If you want to remove all the slider elements use this-->
  			$(document).foundation({
			orbit: {
				stack_on_small: false,
    			navigation_arrows: false,
    			slide_number: false,
    			pause_on_hover: false,
    			resume_on_mouseout: false,
    			bullets: false,
    			timer: false,
    			variable_height: false,
					}
			});
	
            
          
!
999px

Console