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 id="stage">
  
  <!-- The button HTML code -->
  <a class="new-print-button">Print document</a>
  <!-- End of the button HTML code -->
  
</div>

<!-- The following code is for pen informations only -->

<div class="footer">
  Made by
  <a href="https://twitter.com/vinchubang" class="link-label" target="_blank">
    Vincent Bidaux</a>
  using
  <a href="https://webflow.com/website/The-Green-Print-Button" class="link-label" target="_blank">
    Webflow</a>. 
  Icons © <a href="http://www.streamlineicons.com/" class="link-label" target="_blank">Webalys</a>, read about the <a class="link-label"target="_blank" href="http://the-green-print-button.webflow.io/#licence">conditons</a>.
</div>
            
          
!
            
              /* The button properties */

.new-print-button {
  background-color: rgb(40, 194, 127);
  background-image:               url(http://uploads.webflow.com/58403463926ee7da5fc95c2c/5840549e41ed56e151574a8c_print%20button%20icon%203-white.svg), url(http://uploads.webflow.com/58403463926ee7da5fc95c2c/5840549e316b850d0aa56057_print%20button%20icon%202-white.svg);
  background-position-x: 17px, 17px;
  background-position-y: -122%, 47%;
  background-repeat: no-repeat;
  background-size: 33px, 34px;
  border-radius: 3px;
  box-sizing: border-box;
  color: rgb(255, 255, 255);
  cursor: pointer;
  display: block;
  font-family: "Open Sans", sans-serif;
  font-size: 23px;
  font-weight: normal;
  height: 64px;
  line-height: 24px;
  margin: 0 10px 0 10px;
  padding: 20px 40px 20px 62px;
  text-align: center;
  text-decoration: none;
  text-size-adjust: 100%;
  transition-delay: 1s, 0s, 0s, 0s, 0s, 0s;
  transition-duration: 0.2s, 0.2s, 0.2s, 0.2s, 0.2s, 0.2s;
  transition-property: background-color, background-position, opacity, color, text-shadow, box-shadow;
  transition-timing-function: ease, ease, ease, ease, ease, ease;
  width: 276.109px;
}

.new-print-button:hover {
    background-position: 16px 45%, 17px 218%;
    background-color: #31e085;
}

/* The following code is for pen layout only */

#stage {
    height:94vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer{
  width:100%;
  text-align:center;
  font-family:Arial, Helvetica;
  font-size:0.8em;
  color:#4A4A4A;
  display:block;
}

a.link-label {
  color:#28c27f;
  text-decoration:none;
}

a.link-label:hover {
  text-decoration:underline;
}
            
          
!
999px
Loading ..................

Console