Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body>
  <div class='container'>
  <ul>
    <li>Dogs</li>
    <li>Cats</li>
    <li>Lions</li>
    <li>Tigers</li>
    <li>Zebras</li>
    <li>Giraffes</li>
    <li>Bears</li>
    <li>Hippopotamuses</li>
    <li>Antelopes</li>
    <li>Unicorns</li>
    <li>Seagulls</li>
  </ul>
  </div>
  
  <div class='mask'>
  
</body>
</html>
 
.container{
  width:200px;
  height: 100px;
  background-color:#eee;
}
.mask {
  width:4px;
  height: 100px;
  background-color:#eee;
  position: absolute;
  top:8px;
}
li::before {
  content: " | ";
  white-space: nowrap;
}
ul, li {
  display: inline;
}
ul {
  padding:0;
}
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers