<ul class="line">
  <li>ショートケーキ</li>
  <li>オペラ</li>
  <li>フルーツタルト</li>
  <li>シュヴァルツヴェルダー・キルシュトルテ</li>
</ul>
/* style reset */
ul{
  list-style:none;
  margin: 0;
  padding: 0;
}

/* line */
.line li{
  position:relative;
  padding-left: 20px;
  margin-bottom: 10px;
}
.line li:before {
  content: "";
  width: 10px;
  height: 2px;
  background: #000;
  position: absolute;
  top: 10px;
  left: 0;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.