SHARE
TWEET

Untitled

a guest Aug 12th, 2017 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .image-container {
  2.         position: relative;
  3.         display: inline-block;
  4.     }
  5.  
  6.     .image-container img {display: block;}
  7.  
  8.         .image-container .after {
  9.             display: block;
  10.  
  11.         }
  12.         .image-container .after .content {
  13.             position: absolute;
  14.             background-color: #C0D8D8;
  15.             bottom: 0;
  16.             text-align: center;
  17.             padding: 0px;
  18.         }
  19.  
  20.  
  21. <div class="after">
  22.                 <div class="content"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">this is some content. It can be long and span several lines.</a></div>
  23.             </div>
RAW Paste Data
Top