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>
  <h3>Fragment transforms</h3>
  <div id="columns">
    <p>test</p>
    <p id="capture">This is some fragmented content.</p>
    <p>test2</p>
  </div>
  <h3>Captures as</h3>
  <div id="test"></div>
  
</body>
</html>
 
#columns {
  columns: 2;
  width: 200px;
  height: 100px;
}
#columns p {
  rotate: 30deg;
}
#test {
  height: 100px;
  width: 200px;
  background: -moz-element(#capture) no-repeat;
  outline: 1px solid red;
}
Output

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

Dismiss x
public
Bin info
flackrpro
0viewers