<ol class="goals">
	<li><a href="http://thenewcode.com/865/HTML-Reading-List"><img src="http://thenewcode.com/assets/images/icons/milky-way-cave.jpg" alt>
		HTML Reading List
		<svg viewBox="0 0 50 50"><polygon points="4,30 14,40 45,12 41,9 14,34 8,27"/></svg>
    </a></li>
	<li><a href="http://thenewcode.com/919/CSS-Reading-List"><img src="http://thenewcode.com/assets/images/icons/mobius-arch.jpg" alt>		CSS Reading List
				<svg viewBox="0 0 50 50"><polygon points="4,30 14,40 45,12 41,9 14,34 8,27"/></svg>
	</a>
</ol>
<p>Click on links and return to see visited state</p>
body { 
  font-family: Avenir, sans-serif;
  box-sizing: border-box;
}
ol.goals {
  list-style-type:none;
  margin-bottom:2rem;
    li {
      position: relative;
      margin-top: 1.6rem;
      }
    &:after {
      content: " ";
      position: absolute;
      height: 1.6rem;
      width: 3px;
      background: #888;
      left: 84px;
      top: 102px;
      z-index: 1;
    }
  &:last-child:after { 
    content:none; 
  }
  a {
		text-decoration:none;
		z-index:3;
    color: #000;
		position:relative;
		width: 19rem;
		display: inline-block;
      img {
        vertical-align: middle;
        width: 75px;
        height: 75px;
        margin-right: 1rem;
        border: 1px solid transparent;
        border-radius: 50%;
        background:#333; 
      }
      svg { 
        position: absolute;
        right: 0;
        top: 1rem;
        width: 3rem;
        height: 3rem;
          polygon { 
            fill: #fff;
          }
      }
    &:visited { 
      color: #ccc;
      }
    &:visited svg polygon { 
      fill: green;
    }
  }
}
@media screen and (max-width:500px){
  ol.goals {
    text-align: center;
    margin-left: 0; 
    li {
     margin-left: 0;
      z-index: 2;
     }
    &:after { 
      left: 50%;
      height: 3.5rem;
      background: #eee;
    }
  img {
    display: block;
    margin-left: 6rem;
    }
   }
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.