cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

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.

            
              <section class="cover">
		<div class="item i">
			<figure style="background-image: url('https://raw.githubusercontent.com/seyedi/css-playground/master/combadi%20nav/1.jpg');"></figure>
			<div class="handle">I</div>
			<ul>
    <li>In three words I can sum up everything</li>
				<li>I've learned about life</li>
				<li>.. it goes on ..</li>
			</ul>
			<a href="#">my name is link</a>
			<h2><span>description</span>Title</h2>
		</div>
  
		<div class="item ii">
			<figure style="background-image: url('https://raw.githubusercontent.com/seyedi/css-playground/master/combadi%20nav/2.jpg')">
</figure>
			<div class="handle">II</div>
			<ul>
				<li>In three words I can sum up everything</li>
				<li>I've learned about life</li>
				<li>.. it goes on ..</li>
			</ul>
			<a href="#">my name is link</a>
			<h2><span>description</span>Title</h2>
		</div>
  
		<div class="item iii">
			<figure style="background-image: url('https://raw.githubusercontent.com/seyedi/css-playground/master/combadi%20nav/3.jpg');">
</figure>
			<div class="handle">III</div>
			<ul>
				<li>In three words I can sum up everything</li>
				<li>I've learned about life</li>
				<li>.. it goes on ..</li>
			</ul>
			<a href="#">my name is link</a>
			<h2><span>description</span>Title</h2>
		</div>
</section>
            
          
!
            
              * {
  padding : 0;
  margin  : 0;
  border  : 0;
  text-align : center;
  font-family: "Georgia";
}

body {
  padding-top : 10px;
  background-image: url('https://raw.githubusercontent.com/seyedi/css-playground/master/combadi%20nav/bg.jpg');
}

section {
  background : rgba(250,250,250,.2);
  width : 960px;
  margin: auto;
}

.item , figure {
  transition : all 225ms ease-out;
}

.item {
  float      : left;
  width      : 320px;
  height     : 130px;
  position   : relative;
  margin-top : 354px;
}

figure {
  border-bottom : 4px solid skyblue;
}

div.handle {
  width    : 64px;
  height   : 40px;
  margin   : auto;
  position : relative;
  top      : -20px;
  font-weight: bold;
  font-size  : 30px;
  color      : #333;
  background-color : skyblue;
}

div.handle:after {
  display  : block;
  content  : " ";
  position : absolute;
  bottom   : 100%;
  left     : 0;
  
  border-style : solid;
  border-color : transparent;
  border-bottom-color : skyblue;
  border-width : 0 32px 15px 32px;
}

div.handle:before {
  display  : block;
  content  : " ";
  position : absolute;
  top      : 100%;
  left     : 0;
  
  border-style : solid;
  border-color : transparent;
  border-top-color : skyblue;
  border-width : 15px 32px 0 32px;
}

ul li {
  opacity    : 0;
  font-size  : 15px;
  margin-top : 10px;
  font-style : italic;
  list-style-type : none;
}

.item a {
  margin : auto;
  opacity: 0;
  color  : #fff;
  padding  : 10px;
  width    : 200px;
  display         : block;
  background-color: #e9544e;
  text-decoration : none;
  font-size       : 15px;
  font-weight     : bold;
}

.item.ii a {
  background-color : #81bb71;
}

.item.iii a {
  background-color : #E26DA1;
}

.item h2 {
  height   : 70px;
  position : absolute;
  bottom   : 0;
  left     : 0;
  width    : 100%;
  color    : #4e4e4d;
}

h2 > span {
  display : block;
  color   : #787876;
  font-size   : 13px;
  font-style  : italic;
  font-weight : normal;
}

.item:hover {
  cursor     : pointer;
  margin-top : 0;
  height     : 484px;
  transition : all 225ms;
  box-shadow : 0 0 5px 1px #aaa;
  background : #fff;
}

.item:hover ul {
  height : 100px;
}

.item:hover ul li:first-child {
  transition : all 225ms .222s;
  opacity : 1;
}

.item:hover ul li:nth-child(2) {
  transition : all 225ms .299s;
  opacity : 1;
}

.item:hover ul li:last-child {
  transition : all 225ms .333s;
  opacity : 1;
}

.item:hover a {
  transition : all 225ms .7s;
  opacity  : 1;
}		

.item:hover figure {
  margin-top : 0;
  height     : 184px;
  transition : height 225ms;
}

.item:hover .handle {
  transition : height 225ms;
}

.item.i:hover h2 {
  color : #e8554e;
  text-shadow : 0 1px 1px skyblue;
  transition : all 225ms .8s;
}

.item.ii:hover h2 {
  color : #81bb71;
  text-shadow : 0 1px 1px skyblue;
  transition : all 225ms .8s;
}

.item.iii:hover h2 {
  color : #E26DA1;
  text-shadow : 0 1px 1px skyblue;
  transition : all 225ms .8s;
}

.cover:after , .cover:before {
  display: table ;
  content: " ";
  clear : both;
}
            
          
!
            
              /*
design : combadi.com

“In three words I can sum up everything I've learned about life : it goes on .”    ( Robert Frost )
*/
            
          
!
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