<div class="container">
  <a href="#image">Open Image</a>
  <img src="http://tympanus.net/codrops-playground/assets/images/cssref/pseudo/target/autumn-bird.png" alt="image of a bird in autumn" id="image">
</div>
body {
  background-color: #F5F5F5;
  color: #555;
  font-size: 1.1em;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

hr {
  margin: 50px 0;
}

.container {
  margin: 40px auto;
  max-width: 700px;
}

a {
  display: block;
  width: 100px;
  padding: 1em;
  background-color: black;
  color: white;
  margin-bottom: 50px;
  text-decoration: none;
}

a:hover {
  background-color: #009966;
}

#image {
  display: block;
  max-width: 100%;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  opacity: 0;
}

#image:target {
  -webkit-transition: all .3s linear;
  transition: all .3s linear;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}