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.

            
              <span>Transition</span>
<br /><br />
CSS transitions can be applied to any quantifiable attribute, which of course includes colors, as those are hexadecimal.

<br /><br />

<span class="mh">Hover</span> | <span class="tmh">Hover Transition</span> 

<br /><br />

<div class="container"><div class="grow"></div></div> 

<div class="container"><div class="tgrow"></div></div>

<br /><br />

<div style="text-align:justify;">
<!-- AzureLight.net --> 
Example HTML: 
<br /><br />
&lt;span class="mh"&gt;Hover&lt;/span&gt; | &lt;span class="tmh"&gt;Hover Transition&lt;/span&gt; 
<br /><br />
&lt;br /&gt;&lt;br /&gt;
<br /><br />
&lt;div class="container"&gt;&lt;div class="grow"&gt;&lt;/div&gt;&lt;/div&gt; 
<br /><br />
&lt;div class="container"&gt;&lt;div class="tgrow"&gt;&lt;/div&gt;&lt;/div&gt;
<br /><br />
Example CSS: 
<br /><br />
span { font-weight:bold; }
<br /><br />
.mh { color:#000000; }
<br /><br />
.mh:hover { color:#ffffff; }
<br /><br />
.tmh { color:#000000; transition: color 1s; }
<br /><br />
.tmh:hover { color:#ffffff; }
<br /><br />
.container { width:200px; display:inline-block; margin:0px 10px 0px 10px; height:30px; }
<br /><br />
.grow { height:100%; width:20%; background-color:#0098ff; }
<br /><br />
.grow:hover { height:100%; width:100%; background-color:#ff98e9; }
<br /><br />
.tgrow { height:100%; width:20%; background-color:#0098ff; transition: width 2s, background-color 2s; }
<br /><br />
.tgrow:hover { height:100%; width:100%; background-color:#ff98e9; }
</div>

<br /><br />
<a href="http://azurelight.net">AzureLight.net</a> | 
<a href="http://mikaristar.deviantart.com">MikariStar.DeviantArt.com</a> | 
<a href="http://miliazure.wordpress.com">MiliAzure.WordPress.com</a>
            
          
!
            
              body { background-color:#abe5ff; color:#222222; text-align:center; font-size:14px; font-family:Arial; }

*:focus { outline: 0px none; }

div { border: 0px none; }


::-webkit-scrollbar { width: 10px; height:10px; }
::-webkit-scrollbar-track { background-color:#abe5ff; }
::-webkit-scrollbar-thumb { border-radius: 20px; background-color:#549bff; border: 0px none; }

/* AzureLight.net */ 

span { font-weight:bold; }

.mh { color:#000000; }

.mh:hover { color:#ffffff; }

.tmh { color:#000000; transition: color 1s; }

.tmh:hover { color:#ffffff; }

.container { width:200px; display:inline-block; margin:0px 10px 0px 10px; height:30px; }

.grow { height:100%; width:20%; background-color:#0098ff; }

.grow:hover { height:100%; width:100%; background-color:#ff98e9; }

.tgrow { height:100%; width:20%; background-color:#0098ff; transition: width 2s, background-color 2s; }

.tgrow:hover { height:100%; width:100%; background-color:#ff98e9; }


a { color:#ff71ce; text-decoration:none; }
            
          
!
999px
Loading ..................

Console