is divided into two columns. The vertical line on the left is implemented with absolute positioning. The li tag is used on the right. The line segment can be border. If you use something like border-top:1px solid #aaa;, use li:first -child{border-top:none;}, if using border-bottom, use:last-child
The last one has no line and can be removed using jq’s last-child selector
You can write it directly using inline styles
That line is simulated using border, and the border of the last element is 0
Remove style last-child selector
is divided into two columns. The vertical line on the left is implemented with absolute positioning. The li tag is used on the right. The line segment can be border. If you use something like border-top:1px solid #aaa;, use li:first -child{border-top:none;}, if using border-bottom, use:last-child