cssAudio - ActiveCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - Activehtmlicon-personicon-teamoctocatspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

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.

            
              <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">

<p>
  <i class="fa fa-shopping-cart"></i>
</p>

 <p>
  <i class="fa fa-leaf fa-2x style1 "></i>
</p>
<!-- Sizes:  lg 2x 5x-->

 <p>
  <i class="fa fa-suitcase fa-5x style5 "></i>
</p>
<!-- Fun with css: style3, 1, 5, 10-->
<p>
</p>


  
  
<!-- Spin demo: fa-spin -->

   <p>
  <i class="fa fa-spinner fa-spin fa-2x style4"></i>
</p>

  <!-- Lists: -->
<ul class="fa-ul">
	<li><a href="#"><i class="fa-li fa fa-facebook"></i> Facebook</a></li>
	<li><a href="#"><i class="fa-li fa fa-twitter"></i> Twitter</a></li>
	<li><a href="#"><i class="fa-li fa fa-linkedin"></i> LinkedIn</a></li>
	<li><a href="#"><i class="fa-li fa fa-google-plus"></i> Google+</a></li>
</ul>


<!-- Staking demo: -->

<p>
<span class="fa-stack fa-lg">
  <i class="fa fa-circle fa-stack-2x"></i>
  <i class="fa fa-flag fa-stack-1x fa-inverse"></i>
</span>
</p>


<p>
<span class="fa-stack fa-lg">
  <i class="fa fa-square fa-stack-2x" style="color:red;"></i>
  <i class="fa fa-globe fa-stack-1x fa-inverse"></i>
</span>
</p>


<p>
<span class="fa-stack fa-lg">
  <i class="fa fa-certificate fa-stack-2x style3"></i>
  <i class="fa fa-bitcoin fa-stack-1x fa-inverse"></i>
</span>
</p>

<p><span class="fa-stack fa-lg">
  <i class="fa fa-camera fa-stack-1x"></i>
  <i class="fa fa-ban fa-stack-2x" style="color:red;"></i>
  </span></p>


            
          
!
            
              body {
  font-size: 2em;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}


a {
 color: black; 
}

p {
  width:auto;
  text-align:center;
  margin:1em auto;
}

p i {
    -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}



.style1 {
  color: rgba(245, 159, 26, 0.8);
  text-shadow: 1px 4px 6px #FFF, 0 0 0 #000, 1px 4px 6px #FFF;
}
.style1:hover{
  color: rgba(245, 0, 0, 0.8);
}


.style2 {
  background-color:#36c;

  color:white;
  text-shadow: -2px 4px 2px rgba(0,0,0,.4);
  /* 3d transform! */
    -webkit-transform: skew(10deg, 30deg);
    -moz-transform: skew(10deg, 30deg);
    -o-transform: skew(10deg, 30deg);
    -ms-transform: skew(10deg, 30deg);
    transform: skew(10deg, 30deg);
}

.style3 {

color: #2DAEBF;
text-shadow: 0px 1px 0px #0092b3, 0px 2px 0px #0087a6, 0px 3px 0px #008099, 0px 4px 0px #00758c, 0px 5px 0px #555, 0px 6px 0px #006a80, 0px 0px 0px #006073, 0px 8px 7px #005566;
}

.style4 {
  color: orange;
  text-shadow: -3px 0 4px #006;
  opacity:.6;
 }
.style4:hover {
  -moz-transform: scale(1.5) rotate(10deg) translateX(10px) translateY(-10px) skewX(15deg) skewY(10deg);
	-webkit-transform: scale(1.5) rotate(10deg) translateX(10px) translateY(-10px) skewX(15deg) skewY(10deg);
	-o-transform: scale(1.5) rotate(10deg) translateX(10px) translateY(-10px) skewX(15deg) skewY(10deg);
	-ms-transform: scale(1.5) rotate(10deg) translateX(10px) translateY(-10px) skewX(15deg) skewY(10deg);
	transform: scale(1.5) rotate(10deg) translateX(10px) translateY(-10px) skewX(15deg) skewY(10deg);
}

.style5 {
color:#83a697;
text-shadow: 2px 2px 1px #333, 6px 4px 1px #666, 12px 6px 1px #999, 18px 8px 1px #ccc, 24px 10px 1px #ddd, 30px 12px 1px #eee; 
}

.style6 {
    -webkit-text-fill-color: #ddd;
    -webkit-text-stroke-color: #d78965;
    -webkit-text-stroke-width: 6px;
    text-fill-color: #ddd;
    text-stroke-color: #d78965;
    text-stroke-width: 6px;
}


.style7 {
  color:red;
  text-shadow: 0 0 4px #ccc, 0 -5px 4px #ff3, 2px -10px 6px #fd3, -2px -15px 11px #f80, 2px -18px 18px #f20;
  /* borrowed from http://kremalicious.com/make-cool-and-clever-text-effects-with-css-text-shadow/ */
}

.style8 {
   -moz-transform: rotate(99deg);
		-webkit-transform: rotate(99deg);
    -o-transform: rotate(99deg);
    -ms-transform: rotate(99deg);
    transform: rotate(99deg);
  color:#666;
  background-color:#000;
  -moz-box-shadow:    3px 3px 5px 6px #ccc;
  -webkit-box-shadow: 3px 3px 5px 6px #ccc;
  box-shadow:         3px 3px 5px 6px #ccc;
}

.style9 {
  color: #008080;
  background:#ddd;
}
.style9:hover {
-webkit-transform-origin: 50% 100%;
-moz-transform-origin: 50% 100%;
-ms-transform-origin: 50% 100%;
-o-transform-origin: 50% 100%;
transform-origin: 50% 100%;
-webkit-transform: scale(2) perspective(90px) rotateX(25deg);
-moz-transform: scale(2) perspective(90px) rotateX(25deg);
-ms-transform: scale(2) perspective(90px) rotateX(25deg);
-o-transform: scale(2) perspective(90px) rotateX(25deg);
transform: scale(2) perspective(90px) rotateX(25deg);  
}


.style10 {
color: transparent;
text-shadow: 0 0 10px #1F849E;
}
.style10:hover {
color: transparent;
text-shadow: 0 0 0 #1F849E;
}

.style11{
  color: orange;
  -webkit-animation: spin 2s infinite linear;
  -moz-animation: spin 2s infinite linear;
  animation: spin 2s infinite linear;
}
@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console