<h1>Popups like <a href="http://jxnblk.com/ashley/" target="_blank">Ashley</a> theme.</h1>

<div class="module" onclick="">
  
  <a href="#" class="pop-up-link">View Demo</a>
</div>

<div class="module" onclick="">
  
  <a href="#" class="pop-up-link">View Demo</a>
</div>
@import "compass/css3";

body {
  // Prevents flashing
  -webkit-transform: translateZ(0);
  font: italic medium Georgia;
}

h1 {
  font-weight: normal;
  margin: 0;
  font-size: 1em;
  padding: 20px;
}

.module {
  background: #eee;
  width: 200px;
  height: 200px;
  float: left;
  margin: 80px;
  position: relative;
  &:hover, &:active {
    .pop-up-link {
      opacity: 1;
      @include transform(scale(1));
      &:hover, &:active {
        @include transform(scale(1.1));
      }
    }
  }
}

$size: 120px;
.pop-up-link {
  position: absolute;
  top: 0;
  right: 0;
  width: $size;
  height: $size;
  line-height: $size;
  margin-top: -$size/2;
  margin-right: -$size/2;
  text-align: center;
  background: #099;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  opacity: 0;
  @include transform(scale(0.7));
  @include transition(0.2s);
  
}
View Compiled
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.