a1exlism
5/4/2017 - 4:12 AM

css_pseudo*.md

伪元素, 伪类 例子

http://codepen.io/jplhomer/pen/lgfus

<div class="timeline"></div>
OR
<ul class="timeline"></ul>
.timeline:before {
    content: '';
    position: absolute;
    height: 100%;
    width: 2px;
    background: #333;
    left: 0;
}