Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
<div class="a">
  <img src="http://lorempixel.com/600/400/" alt="dddd" />
</div>
<div class="b">
  <h1>Some content here</h1>
</div>
</body>
</html>
 
*{
  margin:0;padding:0
}
.a img {
  width:100%;
}
.b {
  background: #ccc;
}
.b:before {
    content: '';
    width: 100%;
    height: 40px;
    display: block;
    background: #ccc;
    z-index: 3;
    transform-origin: right bottom;
    transform: skewY(4deg);
    margin-top: -10px;
}
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers