Pure CSS Simple Metro Station Map

By Javier Palmieri

Friday 20th, Nov, 2015 | #CSS2 / CSS3 #UI #HTML 5 #Pure CSS

Today we’d like to share some CSS3 experiments with you. The idea is to use some CSS3 selectors as ::after & ::before and transform property in different scenarios. In this post, we’ll give an overview of the general tricks and techniques used to make this demo. The beauty is how width only <ul> <li> <a> html tags you can create a simple Metro Map.

if you have suggestions or ideas about the this demo please contact me @wdrfree

index.html (html structure)

<ul> <li><a href="">J. M. de Rosas</a></li> <li><a href="">Echeverria</a></li> <li><a href="">De los Incas</a></li> <li><a href="">Tronador</a></li> <li><a href="">F. Lacroze</a></li> <li><a href="">Dorrego</a></li> <li><a href="">Malabia</a></li> <li><a href="">AngelGallardo</a></li> <li><a href="">Medrano</a></li> <li><a href="">Carlos Gardel</a></li> <li><a href="">Pueyrredón</a></li> <li><a href="">Pasteur</a></li> <li><a href="">Callao</a></li> <li><a href="">Uruguay</a></li> <li><a href="">9 de Julio</a></li> <li><a href="">Florida</a></li> <li><a href="">L.N. Alem</a></li> </ul>

main.css