Pen Settings

HTML

CSS

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.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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.

+ add another resource

Behavior

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <body>
  <div class="container sessao"><!-- bootstrap -->
    <div class='row' style="margin-top: 30px;">
      <div class="col-md-8 col-md-offset-2">
         <a href="#" class="link-social fb-color"><i class="fa fa-facebook-square"></i> facebook </a>
        <a href="#" class="link-social gplus-color"><i class="fa fa-google-plus-square"></i> google+ </a>
        <a href="#" class="link-social twi-color"><i class="fa fa-twitter-square"></i> twitter </a>
        <a href="whatsapp://send?text=Hello World!" data-action="share/whatsapp/share" class="link-social what-color"><i class="fa fa-whatsapp"></i>  whatsapp </a>
          <!-- AddToAny BEGIN -->
<div class="a2a_kit">
<a class="a2a_button_whatsapp link-social what-color">     whatsapp</a>
</div>
<script type="text/javascript" src="//static.addtoany.com/menu/page.js"></script>
<!-- AddToAny END -->
        
      </div>
    </div>
    <div class="row">
      <div class="col-md-8 col-md-offset-2">
        <br/>
        <a class="styled-link">Home</a>
        <a class="styled-link">About</a>
        <a class="styled-link">Contact</a>
        <input class="styled-input2" placeholder="nome"/>
        <input class="styled-input2" placeholder="email"/>
        <textarea class="styled-input2" placeholder="mensagem"></textarea>
        <button class="test send-message-btn">Enviar Mensagem!         
          <i class="fa fa-paper-plane-o test"></i></button>
        <div style="height: 400px;"></div>
      </div>
    </div>
  </div>
</body>
              
            
!

CSS

              
                body { background: #D7EFFC;  }

.sessao
{
  background: white;
  box-shadow: 0px 2px 2px 0px black;
}

.send-message-btn {
  background: #428BCA;
  color: #fff;
  font-family: 'Lato';
  width: 100%;
  text-align: center;
  border: 0;
  font-size: 28px;
  line-height: 60px;
  cursor: pointer;
  text-shadow: 0px 2px 1px black;
  overflow: visible;
  display:block;
  position: relative;
  margin: 10px 10px;
  border-radius: 5px;
  
  &:hover{
    color: white;
  
    i {
      position: relative;
      transform: rotate(10deg);
      transition: transform .15s;
      animation: flyaway 2s;
      -webkit-animation: flyaway 2s;
   
    }
  }
}

@keyframes flyaway {
  0%   { transform: rotate(10deg);
         top: 5px;
         right: 25px;
         height: 10px; }
  5%   { transform: rotate(10deg);
         top: 13px;
         right: 0px;
         height: 10px; }
  
  40%   { transform: rotate(10deg);
          top: -40px;
          right: -280px;
          opacity: 1; }
  100% { transform: rotate(60deg);
         top: -200px;
         right: -1000px;
         height: 0;
         opacity: 0; }
}

@-webkit-keyframes flyaway {
  0%   { transform: rotate(10deg);
         top: 5px;
         right: 25px;
         height: 30px; }
  5%   { transform: rotate(10deg);
         top: 5px;
         right: 0px;
         height: 30px; }
 
  40%   { transform: rotate(10deg);
          top: -40px;
          right: -280px;
          opacity: 1; }
  100% { transform: rotate(60deg);
         top: -200px;
         right: -1000px;
         height: 0;
         opacity: 0; }
}

.send-message-btn:hover
{
  
}

.send-message-btn:active
{
  
}


.styledBlueBtn 
{
    background: #fff;
    color: #428BCA;
    font-family: 'Pacifico', cursive;*/
    font-size: 25px;
    line-height: 60px;
    margin: 25px 25px;
    width: 100%;
    text-align: center;
    border: 0;
    padding: 10px 25px 10px 25px;
    transition: background 0.7s ease,color 0.7s ease 0s,box-shadow 0.1s;
    opacity: 1;
    box-shadow: 0px 7px 0px grey;
    border-radius: 5px;
}

.styledBlueBtn:hover 
{
  background: #428BCA;
  color: #fff;
  box-shadow: 0px 7px 0px #21669e;
  
}

.styledBlueBtn:active
{
  -webkit-box-shadow: 0px 2px 0px #21669e;
    -moz-box-shadow: 0px 2px 0px #21669e;
    box-shadow: 0px 2px 0px #21669e;
    position:relative;
    top:5px;
}

.styled-input
{
  padding: 8px 15px 8px 15px;
  font-family: 'Pacifico', cursive;
  font-size: 25px;
  line-height: 50px;
  width: 100%;
  margin: 10px 10px;
  border-radius: 5px;
  box-shadow: inset 0px 1px 0px 0px grey;
  transition: box-shadow 0.3s;
  color:  #428BCA;
}

.styled-input:focus
{
  box-shadow: 0px 5px 10px 0px grey;
  border-color:  #428BCA;
  border: none;
  border-radius: 5px;
}

.styled-input2
{
  padding: 8px 15px 8px 15px;
  /*font-family: 'Pacifico', cursive;*/
  font-family: 'Lato';
  font-size: 25px;
  line-height: 50px;
  width: 100%;
  margin: 10px 10px;
  border-bottom: 6px solid grey !important;
  border: none;
  border-radius: 5px;
  color:  #428BCA;
}

.styled-input2:focus
{
  box-shadow: 2px 8px 10px 2px grey;
  border-color:  #428BCA;
  border: none;
  outline: none;
  border-radius: 5px;
  border-bottom: 6px solid #428BCA !important;
}

.styled-link
{
    font-family: 'Lato';
    font-weight: 900;
    font-size: 1.3em;
    color: #3a3a3a;
    transition: background 1s, color 1s;
    -webkit-transition: background 1s, color 1;
    padding: 0.01rem 0.2rem;
    border-bottom: 3px solid #3498db;
    text-decoration: none;
    padding: 5px 10px 5px 10px;
    cursor: pointer;
}

.styled-link:hover
{
    background: #3498db;
    color: white;
}

a:hover, a:visited, a:link, a:active
{
    text-decoration: none;
}

::-webkit-input-placeholder
{
  color: #428BCA;
  opacity: 0.5;
}

:-moz-placeholder 
{ /* Firefox 18- */
  color: #428BCA; 
  opacity: 0.5;
}

::-moz-placeholder 
{  /* Firefox 19+ */
  color: #428BCA;
  opacity: 0.5;
    
}

:-ms-input-placeholder 
{  
  color: #428BCA;  
  opacity: 0.5;
}


.link-social
{
    font-family: 'Lato';
    font-size: 1.2em;
    text-align: center;
    color: white;
    transition: font-size 1s;
    -webkit-transition: font-size 1s;
    text-decoration: none;
    padding: 10px 10px 10px 10px;
    margin 30px 10px;
}

.link-social:hover
{
    animation: hithere 1s ease;
    -webkit-animation: hithere 1s ease;
    -moz-animation: hithere 1s ease;
    font-size: 1.3em;
    color: white;
}

.link-social:active { position: relative; top: 5px; }

.fb-color { background: #305c99; box-shadow: 0px 7px 0px #27487C; }

.fb-color:active { box-shadow: 0px 2px 0px #27487C; }

.gplus-color{ background: #d24228; box-shadow: 0px 7px 0px #BF3826;}

.gplus-color:active { box-shadow: 0px 2px 0px #BF3826;}

.twi-color{ background: #00cdff; box-shadow: 0px 7px 0px #00A9D8; }

.twi-color:active { box-shadow: 0px 2px 0px #00A9D8; }

.what-color{ background: #3BBF26; box-shadow: 0px 7px 0px #3C9B1F; display: inline-flex;}

.what-color:active { box-shadow: 0px 2px 0px #3C9B1F; }

@keyframes hithere 
{
  30% { transform: scale(1.2); }
  40%, 60% { transform: rotate(-20deg) scale(1.2); }
  50% { transform: rotate(20deg) scale(1.2); }
  70% { transform: rotate(0deg) scale(1.2); }
  100% { transform: scale(1); }
}

@-webkit-keyframes hithere
{
  30% { transform: scale(1.2); }
  40%, 60% { transform: rotate(-20deg) scale(1.2); }
  50% { transform: rotate(20deg) scale(1.2); }
  70% { transform: rotate(0deg) scale(1.2); }
  100% { transform: scale(1); }
}

@-moz-keyframes hithere
{
  30% { transform: scale(1.2); }
  40%, 60% { transform: rotate(-20deg) scale(1.2); }
  50% { transform: rotate(20deg) scale(1.2); }
  70% { transform: rotate(0deg) scale(1.2); }
  100% { transform: scale(1); }
}

.link-social:hover, .link-social:visited, .link-social:link, .link-social:active
{
    text-decoration: none;
    color: white;
}
              
            
!

JS

              
                
              
            
!
999px

Console