Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"/>
  
  
<!-- Latest Sortable -->
<script src="https://raw.githack.com/SortableJS/Sortable/master/Sortable.js"></script>
  
  
<!-- HTML -->
<h4>List 1</h4>
<ul id="list" class="list-group">
  <li class="list-group-item">Item 1</li>
  <li class="list-group-item">Item 2</li>
  <li class="list-group-item">Item 3</li>
  <li class="list-group-item">Item 4</li>
  <li class="list-group-item">Item 5</li>
</ul>
<h4>List 2</h4>
<ul id="list2" class="list-group">
</ul>
Sortable.create(list, {
  group: 'shared',
  animation: 100
});
Sortable.create(list2, {
  group: 'shared',
  animation: 100,
  emptyInsertThreshold: 5 // this is the default
});
Output 300px

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

Dismiss x
public
Bin info
owen-m1pro
0viewers