CodePen

HTML

            
              <header></header>

<ul>
  <li>
    <div id="a"></div>
      <div id="wrapper">
        <div id="b"></div>
        <div id="c"></div>
      </div>
    <div id="d"></div>
  </li>
</ul>
            
          
!

CSS

            
              * {
  margin:0;
  padding:0;
  -webkit-box-sizing:border-box;
  box-sizing:border-box;
}

body {
  background:#222;  
}

header {
  height:46px;
  width:100%;
  background:#1c1c1c;
}

ul {
  list-style-type:none;
}

li {
  height:60px;
  width:100%;
  box-shadow:inset 0 0 3px green;
}

div {
  float:left;
  position:relative;
  box-shadow:inset 0 0 3px #111;
}

#a {
  height:60px;
  width:15%;
  background:rgba(255,0,0,0.6);
}

#wrapper {
  height:60px;
  width:70%;
}

#b {
  height:30px;
  width:100%;
  background:rgba(224,178,27,0.6);
}

#c {
  height:30px;
  width:100%;
  background:rgba(0,255,0,0.6);
}

#d {
  height:60px;
  width:15%;
  background:rgba(0,0,255,0.6);
}
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              $.fn.duplicate = function(count, cloneEvents) {
  var tmp = [];
  for ( var i = 0; i < count; i++ ) {
    $.merge( tmp, this.clone( cloneEvents ).get() );
  }
  return this.pushStack( tmp );
};

$('li').click(function() {
  confirm("are you sure");
});

$(document).click(function() {
  $('li').first().duplicate(1, true).appendTo('ul');
});
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................