This example shows simple horizontal line with markers and labels implemented only with HTML and CSS.
- pure HTML(5) and CSS3
- no images
- width of lines can be easily changed
You can use it standalone, just generate the html markup and accompanying css. However, I’d probably use it in XTemplate where length of lines, colors and labels can be generated dynamically based on the passed data.
Source CodeIf you want to see the example code, login or sign-up. Free membership is available.