cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

Quick-add: + add another resource

Code Indentation


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

              <div class="img">
  <img src="https://oandg.co.uk.s156312.gridserver.com/images/RDF/rdf1.jpg" alt="" />
    <div class="info">
                    <img src="https://oandg.co.uk.s156312.gridserver.com/images/info.svg" alt="" class="info">
        <div class="text">
            <h4>What we did for them</h4>
                      <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quidem distinctio deserunt nostrum illum dolor obcaecati eaque ipsam! Distinctio, ipsa accusamus saepe temporibus ex pariatur possimus quidem sapiente obcaecati labore sto.</p>
              @import "compass/css3";

.img {
    position: relative;
.img > img:not(.info) {
    width: 100%;
.img .info {
    position: absolute;
    bottom: 25px;
    left: 30px;
.img .info .text {
    background: rgba(black, 0.4);
    color: white;
    width: 350px;
    margin-left: 35px;
    margin-top: 35px;
    padding: 1px 5px;
.img .info img {
    posotion: absolute;
    top: -5px;
    left: 0;
              $('.img .info img.info').click(function () {
    var $this = $(this);
    if ($this.parent().find('.text').hasClass('hidden')) {
        $this.parent().find('.text').animate({ opacity: 1 }, 1000, function () {
    } else {
      $this.parent().find('.text').animate({ opacity: 0 }, 1000, function () {
Loading ..................