css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

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.

            
              <div id="mainContainer">
  
<div id="slide-container" class="slide-wrapper">
   <div id="ul-container" class="ul-wrapper">
     
  <div class="accordion">
    
    <ul>
      
      <li id="button1">
        <div class="tag">
          <p> <img src="http://ulcommdev.com/continuum/assets/images/circle.png"></p>
          
        </div>
					<div class="paragraph button1back">
        <h1>Crude Oil Logistics</h1>
						<p>Getting energy where you need it. Quickly and dependably.
</p><p>&nbsp;</p><p><img src="http://ulcommdev.com/continuum/assets/images/learn-more-btn.png"></p>
              </div>
      </li>
      
      <li id="button2">
        <div class="tag">
          <p> <img src="http://ulcommdev.com/continuum/assets/images/circle.png"></p>
          
        </div>
        <div class="paragraph button2back">
        <h1>Moving Energy<br>Forward</h1>
						<p>Continuum Energy experts have the<br>deep industry knowledge to keep<br>resources flowing to the one<br>point that matters most: you.</p>
              <p>&nbsp;</p><p><img src="http://ulcommdev.com/continuum/assets/images/learn-more-btn.png"></p>
              </div>
      </li>
              
       <li id="button3">
        <div class="tag">
          <p> <img src="http://ulcommdev.com/continuum/assets/images/circle.png"></p>
        </div>
        <div class="paragraph button3back">
        <h1>Producer Services</h1>
						<p>We bring complete solutions to help our<br> producers get more.
              </p><p>&nbsp;</p><p><img src="http://ulcommdev.com/continuum/assets/images/learn-more-btn.png"></p>
              </div>
      </li>
              
              
        <li id="button4">
        <div class="tag">
          <p> <img src="http://ulcommdev.com/continuum/assets/images/circle.png"></p>
        </div>
        <div class="paragraph button4back">
        <h1>Midstream Services</h1>
						<p>Transforming raw products into the<br>resources the market needs.</p>
              <p>&nbsp;</p>
              <p><img src="http://ulcommdev.com/continuum/assets/images/learn-more-btn.png"></p>
              </div>
      </li>
      
    </ul>
    
  </div>
  
          <div class="clearfloat"></div>
     

          </div>
          </div>
          </div>
            
          
!
            
              @import "compass/css3";

@import "compass/reset";
@import "compass/css3";

body {
	background-color: #fff;
	font-family: Lato, sans-serif;
}

#mainContainer{
  width:100%;
  position:relative;
}

#slide-container{
  display:block;
  height:400px;
}

.slide-wrapper{
  margin:0 auto;
  width:100%;
  @include background-image(linear-gradient(#b3e1e4, #4298b9));
}

#ul-container{
  display:block;
  height:auto;
  position:relative;
}
.ul-wrapper{
  margin:0 auto;
  width:1280px;
}

.accordion {
  /*@include background-image(linear-gradient(#b3e1e4, #4298b9));*/
	position: absolute;
	width: 100%;
	height: 450px;
	margin-top: 0;
	left: 0;
	top: -50px;
	overflow: hidden;
  /*background: url(http://ulcommdev.com/continuum/assets/images/accordion-back.png);*/
}

ul {
		margin-left: 150px;
		list-style-type: none;
  
	}

li {
    top:0;
		overflow: hidden;
		position: relative;
		width: 85px;
		height: 500px;
		float: left;
		display: block;
    transform: rotate(25deg);
  margin-right:1px;
  	/*@include transition( all 0.4s 0.1s ease-out );*/
  
  /*@include transition-property(width);*/
  @include transition-duration(0.4s);
  /*@include transition-timing-function(ease-in);*/

  
  &:hover {
			width: 860px;
    overflow:visible;
    top:164px;
    left:-36px;
  }
  
}



li#button1:hover{
background-color:#000000;
}

.button1back{
  background: url(http://ulcommdev.com/continuum/assets/images/cont-slide10.jpg);
}


li#button2:hover{
background-color:#ececee;
}

.button2back{
  background: url(http://ulcommdev.com/continuum/assets/images/cont-slide9.jpg);
}

li#button3:hover{
background-color:#bbc8d8;
}

.button3back{
  background: url(http://ulcommdev.com/continuum/assets/images/cont-slide8.jpg);
}


li#button4:hover{
background-color:#d0ebfd;
}

.button4back{
  background: url(http://ulcommdev.com/continuum/assets/images/cont-slide7.jpg);
}

h1 {
			font-size: 2.5em;
			margin-bottom: 10px;
      color:#fff;
		} 

		p {
			font-size: 0.88em;
			line-height: 1.5em;
			padding-right: 30px;
      color:#fff;
		}

.tag{
  z-index:10;
  position:absolute;
  width:80px;
  height:500px;
  @include background-image(linear-gradient(#b3e1e4, #4298b9));
  top:0;
  left:0;
}

.tag:hover{
  @include background-image(linear-gradient(#ffd49e, #ff4f45));
  top:0;
  left:0;
} 

.tag p {
  position:absolute;
  top:40%;  
  transform: rotate(-25deg);
  left:20%;
}

.paragraph {
    z-index:9;
		position: absolute;
		width: 860px;
		height: 500px;
		margin: -234px 0 0 114px;
		padding: 150px 0 0 80px;
    transform: rotate(-25deg);
  background-color:#246588;
} 


.clearfloat{clear:both;}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console