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="maxcontainer">
  <div class="thebutton progressive">
    <div class="ueno-container">
        <img src="http://uibuttons.com/images/jelly.jpg">
    </div>
  </div>

  <div class="thebutton info">
    <div class="boxinformation">
      <h1>Ueno Image Hover</h1>
      <p>Ueno has an eye for fine-tuning the balancing between simplicity and innovation. </p>
      <p>We see “scale” on images everywhere these days, but a fresh hover experience is accomplished here by also scaling the image's container in the opposite direction.
        <a target="_blank" href="https://ueno.co/">ueno.co</a>
      </p>
      <p>Photo by
        <a target="_blank" href="https://unsplash.com/photos/_AjqGGafofE">Joel Filipe</a>
      </p>
    </div>

  </div>

</div>
            
          
!
            
              
/*** Button Code ****/
.ueno-container {
  overflow: hidden;
  width: 100%;
  margin: auto;
  position: relative;
  transition: transform .3s ease-in-out,-webkit-transform .3s ease-in-out;
  -webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.1);
}

.ueno-container:hover {
  transform: scale(.95);
}

.ueno-container img {
  width: 100%;
  transition: transform .3s ease-in-out,-webkit-transform .3s ease-in-out;
}

.ueno-container:hover img {
  transform: scale(1.15);
}



/********* Foundation Code *********/
body {
  background-color: #f4f4f4;
  font-family: "Roboto", sans-serif;
}

a {
  text-decoration: none;
}

.maxcontainer {
  width: 100%;
  max-width: 1100px;
  margin: auto;
  overflow: auto;
  
}

@media screen and (min-width: 750px) {
  .maxcontainer {
    padding: 0;
  }
}

.thebutton {
  float: left;
  width: 95%;
  margin: 2.5% 2.5% 0 2.5%;
  position: relative;
  border-radius: 2px;
  overflow: hidden;

}

@media screen and (min-width: 750px) {
  .thebutton {
    width: 47.5%;
    margin: 2.5% 1.25% 0 1.25%;
  }
}





.boxinformation {
  background: none;
  color: #000;
  font-weight: 200;
  width: 100%;
  margin: auto;
  position: relative;
}

.boxinformation a {
  color: #000;
  opacity: .4;
  font-weight: bold;
  text-decoration: underline;
}
.boxinformation a:hover {
  opacity: 1;
}


.thebutton.info {
  -webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0);
  -moz-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0);
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0);
}
            
          
!
999px
Loading ..................

Console