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.

Editor Settings

Code Indentation

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

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

            
              <link href='https://fonts.googleapis.com/css?family=Lobster|Raleway:400,200' rel='stylesheet' type='text/css'>
<header class="small" class="cf">
		  <nav>
			    <h1 class="logo">Aj-Apps</h1>
		  </nav>
	</header>

<div class="social-buttons">
  <a class="social-button facebook" href="https://www.facebook.com/AJApps2">
    <i class="fa fa-facebook">
    </i>
  </a>
  
  <a class="social-button twitter" href="https://twitter.com/AjApps_">
    <i class="fa fa-twitter">
    </i>
  </a>
  
  <a class="social-button google" href="https://plus.google.com/+AjappsUk">
    <i class="fa fa-google">
    </i>
  </a>
  
  <a class="social-button linkedin" href="https://www.linkedin.com/company/aj-apps-ltd">
    <i class="fa fa-linkedin">
    </i>
  </a>
  
  <a class="social-button website" href="https://www.ajapps.co.uk/">
    <i class="fa fa-globe">
    </i>
  </a>
  
  <a class="social-button email" href="mailto:contact@ajapps.co.uk?subject=Github%20feedback%20Social%20Buttons">
    <i class="fa fa-envelope">
    </i>
  </a>
  
  <a class="social-button dribbble" href="#">
    <i class="fa fa-dribbble">
    </i>
  </a>
  
  <a class="social-button youtube" href="#">
    <i class="fa fa-youtube">
    </i>
  </a>
  
  <a class="social-button instagram" href="#">
    <i class="fa fa-instagram">
    </i>
  </a>
  
  <!--<a class="social-button instagram2" href="#">
    <i class="fa fa-instagram">
    </i>
  </a>-->
  
  <a class="social-button whatsapp" href="#">
    <i class="fa fa-whatsapp">
    </i>
  </a>
  
  <a class="social-button pinterest" href="#">
    <i class="fa fa-pinterest">
    </i>
  </a>
  
  <a class="social-button vine" href="#">
    <i class="fa fa-vine">
    </i>
  </a>
  
  <a class="social-button dropbox" href="#">
    <i class="fa fa-dropbox" aria-hidden="true"></i>
    </i>
  </a>
  
  <a class="social-button flickr" href="#">
    <i class="fa fa-flickr">
    </i>
  </a>

<a class="social-button tumblr" href="#">
    <i class="fa fa-tumblr" aria-hidden="true"></i>
    </i>
  </a>
  
  <a class="social-button vk" href="#">
    <i class="fa fa-vk">
    </i>
  </a>
  
  <a class="social-button foursquare" href="#">
    <i class="fa fa-foursquare">
    </i>
  </a>

<a class="social-button spotify" href="#">
    <i class="fa fa-spotify" aria-hidden="true"></i>
    </i>
  </a>
  
  <a class="social-button github" href="https://codepen.io/Aj-Apps/">
    <i class="fa fa-github">
    </i>
  </a>

<a class="social-button behance" href="#">
    <i class="fa fa-behance">
    </i>
  </a>

<a class="social-button rss" href="#">
    <i class="fa fa-rss">
    </i>
  </a>
  
  
  <!--The below wont work unless you have your external CSS pointing to Font Awesome new 4.7.0 icons

  <a class="social-button snapchat" href="#">
    <i class="fa fa-snapchat" aria-hidden="true"></i>
    </i>
  </a>
  
  <a class="social-button quora" href="#">
    <i class="fa fa-quora">
    </i>
  </a>

<a class="social-button vimeo" href="#">
    <i class="fa fa-vimeo" aria-hidden="true"></i>
    </i>
  </a>
  -->
</div>
            
          
!

CSS

            
              /* Reset */
@import url(//codepen.io/chrisdothtml/pen/ojLzJK.css);

/* Base Styles */

body {
	margin: 0;
	padding: 0;
	font-size: 16px;
	line-height: 1.4em;
	color: #222;
	font-family: 'Raleway', sans-serif;
}

/* Header Styles */

header {
	width: 100%;
	height: 100px;
	background: #F0F8FF;
	position: fixed;
	z-index: 2;
	box-shadow: 0 4px 4px rgba(0,0,0,0.1);
}

.small {
  height: 50px;
}

.small .logo {
	font-size: 2.6em;
	margin-top: 5px;
}

nav {
	position: fixed;
}

.logo {
	font-family: 'Lobster', cursive;
	font-size: 4em;
	font-weight: 400;
	float: left;
	padding: 5px;
	margin-top: 25px;
}

.social-buttons {
  height: 90px;
  margin: auto;
  font-size: 0;
  text-align: center;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.social-button {
  display: inline-block;
  background-color: #fff;
  width: 90px;
  height: 90px;
  line-height: 90px;
  margin: 0 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: .99;
  border-radius: 28%;
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.05);
  -webkit-transition: all 0.35s cubic-bezier(0.31, -0.105, 0.43, 1.59);
  transition: all 0.35s cubic-bezier(0.31, -0.105, 0.43, 1.59);
}
.social-button:before {
  content: '';
  background-color: #000;
  width: 120%;
  height: 120%;
  position: absolute;
  top: 90%;
  left: -110%;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  -webkit-transition: all 0.35s cubic-bezier(0.31, -0.105, 0.43, 1.59);
  transition: all 0.35s cubic-bezier(0.31, -0.105, 0.43, 1.59);
}
.social-button .fa {
  font-size: 38px;
  vertical-align: middle;
  -webkit-transform: scale(0.8);
          transform: scale(0.8);
  -webkit-transition: all 0.35s cubic-bezier(0.31, -0.105, 0.43, 1.59);
  transition: all 0.35s cubic-bezier(0.31, -0.105, 0.43, 1.59);
}
//Facbook
.social-button.facebook:before {
  background-color: #3B5998;
}
.social-button.facebook .fa {
  color: #3B5998;
}

//Twitter
.social-button.twitter:before {
  background-color: #55acee;
}
.social-button.twitter .fa {
  color: #55acee;
}

//Google Plus
.social-button.google:before {
  background-color: #dd4b39;
}
.social-button.google .fa {
  color: #dd4b39;
}

//Linkedin
.social-button.linkedin:before {
  background-color: #007bb5;
}
.social-button.linkedin .fa {
  color: #007bb5;
}

//website
.social-button.website:before {
  background-color: #767676;
}
.social-button.website .fa {
  color: #767676;
}

//Email
.social-button.email:before {
  background-color: #4caf50;
}
.social-button.email .fa {
  color: #4caf50;
}

//Dribble
.social-button.dribbble:before {
  background-color: #F26798;
}
.social-button.dribbble .fa {
  color: #F26798;
}

//Youtube
.social-button.youtube:before {
  background-color: #bb0000;
}
.social-button.youtube .fa {
  color: #bb0000;
}

//Instagram
.social-button.instagram:before {
  background-color: #e95950;
}
.social-button.instagram .fa {
  color: #e95950;
}

//Or you could have this colour for instagram
//Instagram

/*.social-button.instagram2:before {
  background-color: #125688;
}
.social-button.instagram2 .fa {
  color: #125688;
}*/


//Whatsapp
.social-button.whatsapp:before {
  background-color: #4dc247;
}
.social-button.whatsapp .fa {
  color: #4dc247;
}

//Pinterest 
.social-button.pinterest:before {
  background-color: #cb2027;
}
.social-button.pinterest .fa {
  color: #cb2027;
}

//Vine
.social-button.vine:before {
  background-color: #00bf8f;
}
.social-button.vine .fa {
  color: #00bf8f;
}

/* Read HTML
//Snapchat
.social-button.snapchat:before {
  background-color: #fffc00;
}
.social-button.snapchat .fa {
  color: #fffc00;
}

//Quora
.social-button.quora:before {
  background-color: #a82400;
}
.social-button.quora .fa {
  color: #a82400;
}
*/

//Dropbox
.social-button.dropbox:before {
  background-color: #007ee5;
}
.social-button.dropbox .fa {
  color: #007ee5;
}

//Flickr
.social-button.flickr:before {
  background-color: #ff0084;
}
.social-button.flickr .fa {
  color: #ff0084;
}

//Tumblr
.social-button.tumblr:before {
  background-color: #32506d;
}
.social-button.tumblr .fa {
  color: #32506d;
}

//VK
.social-button.vk:before {
  background-color: #ff0084;
}
.social-button.vk .fa {
  color: #ff0084;
}

/* Read HTML
//Vimeo
.social-button.vimeo:before {
  background-color: #32506d;
}
.social-button.vimeo .fa {
  color: #32506d;
}*/

//Foursquare
.social-button.foursquare:before {
  background-color: #0072b1;
}
.social-button.foursquare .fa {
  color: #0072b1;
}

//Spotify
.social-button.spotify:before {
  background-color: #00e461;
}
.social-button.spotify .fa {
  color: #00e461;
}

//Github
.social-button.github:before {
  background-color: #000000;
}
.social-button.github .fa {
  color: #000000;
}

//Behance 
.social-button.behance:before {
  background-color: #1769ff;
}
.social-button.behance .fa {
  color: #1769ff;
}

//RSS 
.social-button.rss:before {
  background-color: #ff6600;
}
.social-button.rss .fa {
  color: #ff6600;
}


.social-button:focus:before, .social-button:hover:before {
  top: -10%;
  left: -10%;
}
.social-button:focus .fa, .social-button:hover .fa {
  color: #fff;
  -webkit-transform: scale(1);
          transform: scale(1);
}

.logo {
	font-family: 'Lobster', cursive;
	font-size: 4em;
	font-weight: 400;
	float: left;
	padding: 5px;
	margin-top: 25px;
}

/* Transitions */

header, .logo{
	-webkit-transition: all 1s;
          transition: all 1s; 
}

            
          
!

JS

            
              
            
          
!
999px

Console