I can create this effect using tables and a background image, but would really like to be able to use CSS, please. Is it possible?
DEMO : http://jsfiddle.net/2ARfR/
try this jsbin: http://jsbin.com/arisuy/5/edit
Relevant CSS
p {
width: 50px;
text-align: center;
position : relative;
}
p:before {
position: absolute;
content : "";
left : 50%;
top : 0;
height: 100%;
width : 0;
border-right: 1px #666 solid;
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.