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 class="site1"><div class="words1">
<span class="desc1"><span class="domanin1">AzureLight.net</span><br /><br />This is a hover effect example.</span>
</div></div>

&nbsp;&nbsp;&nbsp;&nbsp;

<div class="site2"><div class="words2">
<span class="desc2"><span class="domanin2">AzureLight.net</span><br /><br />This is a hover effect example.</span>
</div></div>

<br /><br />

<div class="site3" style="background-image:url(azurelightnet.png);"><div class="words3">
<span class="desc3"><span class="domanin3">AzureLight.net</span><br /><br />This is a hover effect example.</span>
</div></div>

&nbsp;&nbsp;&nbsp;&nbsp;

<div class="site4" style="background-image:url(azurelightnet.png);"><div class="words4">
<span class="desc4"><span class="domanin4">AzureLight.net</span><br /><br />This is a hover effect example.</span>
</div></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; }

.site1 { width:340px; height:200px; background-size: auto 100%; position:relative; 
background-position:center center; background-repeat:no-repeat; display:inline-block;
text-align:center; margin:0px auto 0px auto; text-align:center; background-color:#ffffff;
border-radius: 35px 35px 35px 35px / 35px 35px 35px 35px; overflow:hidden; }

.words1 { font-size:14px; font-family:Arial; margin:0px auto 0px auto; opacity:0; align-items:center; 
text-align:center; position:relative; width:100%; height:100%; background-color:#c5d3db; color:#222222; 
animation-duration: 1s; animation-delay: 0s; animation-play-state: running; display:flex; 
animation-timing-function: linear; animation-iteration-count: 1; animation-direction: normal; 
animation-name: effect1out; border-radius: 35px 35px 35px 35px / 35px 35px 35px 35px; }

.words1:hover { opacity:1; animation-name: effect1in; }

@keyframes effect1in { 0% { opacity:0; } 100% { opacity:1; } }

@keyframes effect1out { 0% { opacity:1; } 100% { opacity:0; } }

.domain1 { font-weight:bold; display:block; text-align:center; }

.desc1 { font-style:italic; text-align:left; display:block; padding:10px; margin:0px auto 0px auto; 
text-align:center; }

.site2 { width:340px; height:200px; background-size: auto 100%; position:relative; 
background-position:center center; background-repeat:no-repeat; display:inline-block;
text-align:center; margin:0px auto 0px auto; text-align:left; background-color:#ffffff;
border-radius: 35px 35px 35px 35px / 35px 35px 35px 35px; overflow:hidden; }

.words2 { font-size:14px; font-family:Arial; margin:0px; align-items:center; color:#c5d3db;
text-align:center; position:relative; width:10%; height:15%; background-color:#c5d3db;
animation-duration: 1s; animation-delay: 0s; animation-play-state: running; display:flex; 
animation-timing-function: linear; animation-iteration-count: 1; animation-direction: normal; 
animation-name: effect2out; border-radius: 0px 0px 0px 0px / 0px 0px 0px 0px; 
overflow:hidden; }

.words2:hover { width:100%; height:100%; animation-name: effect2in; color:#222222; 
border-radius: 35px 35px 35px 35px / 35px 35px 35px 35px; background-color:#c5d3db; }

@keyframes effect2in { 
0% { width:10%; height:15%; color:#c5d3db; border-radius: 0px 0px 0px 0px / 0px 0px 0px 0px; } 
70% { width:100%; height:100%; color:#c5d3db; border-radius: 35px 35px 35px 35px / 35px 35px 35px 35px; } 
100% { color:#222222; border-radius: 35px 35px 35px 35px / 35px 35px 35px 35px; background-color:#c5d3db; } }

@keyframes effect2out { 0% { color:#222222; width:100%; height:100%; border-radius: 35px 35px 35px 35px / 35px 35px 35px 35px; }
30% { color:#c5d3db; width:100%; height:100%; border-radius: 35px 35px 35px 35px / 35px 35px 35px 35px; } 
100% { width:10%; height:15%; border-radius: 0px 0px 0px 0px / 0px 0px 0px 0px; } }

.domain2 { font-weight:bold; display:block; text-align:center; margin:0px auto 0px auto; }

.desc2 { font-style:italic; text-align:left; display:block; padding:10px; margin:0px auto 0px auto; 
text-align:center; }

.site3 { width:340px; height:0px; background-size: auto 100%; position:relative; 
background-position:center center; background-repeat:no-repeat; display:inline-block;
text-align:center; margin:0px auto 0px auto; text-align:center; background-color:#ffffff;
border-radius: 35px 35px 35px 35px / 35px 35px 35px 35px; overflow:hidden; 
animation-duration: 1s; animation-delay: 0s; animation-play-state: running;  
animation-timing-function: linear; animation-iteration-count: 1; animation-direction: normal; 
animation-name: effect3out; padding-top:200px; }

.words3 { font-size:14px; font-family:Arial; margin:0px auto 0px auto;  
text-align:center; position:relative; width:100%; height:100%; background-color:#c5d3db;  
border-radius: 35px 35px 35px 35px / 35px 35px 35px 35px; color:#222222; }

.site3:hover { animation-name: effect3in; padding-top:120px; height:80px; }

@keyframes effect3in { 0% { padding-top:200px; height:0px; } 100% { padding-top:120px; height:80px; } }

@keyframes effect3out { 0% { padding-top:120px; height:80px; } 100% { padding-top:200px; height:0px; } }

.domain3 { font-weight:bold; display:block; text-align:center; }

.desc3 { font-style:italic; text-align:left; display:block; padding:10px; margin:0px auto 0px auto; 
text-align:center; }

.site4 { width:340px; height:0px; background-size: auto 100%; position:relative; 
background-repeat:no-repeat; display:inline-block;
text-align:center; margin:0px auto 0px auto; text-align:center; background-color:#ffffff;
border-radius: 35px 35px 35px 35px / 35px 35px 35px 35px; overflow:hidden; 
animation-duration: 1s; animation-delay: 0s; animation-play-state: running;  
animation-timing-function: linear; animation-iteration-count: 1; animation-direction: normal; 
animation-name: effect4out; padding-top:200px; background-position:center top 0px; }

.words4 { font-size:14px; font-family:Arial; margin:0px auto 0px auto;  
text-align:center; position:relative; width:100%; height:100%; background-color:#c5d3db;  
border-radius: 0px 0px 35px 35px / 0px 0px 35px 35px; color:#222222; }

.site4:hover { animation-name: effect4in; padding-top:120px; height:80px; background-position:center top -80px; }

@keyframes effect4in { 0% { padding-top:200px; height:0px; background-position:center top 0px; } 
100% { padding-top:120px; height:80px; background-position:center top -80px; } }

@keyframes effect4out { 0% { padding-top:120px; height:80px; background-position:center top -80px; } 
100% { padding-top:200px; height:0px; background-position:center top 0px; } }

.domain4 { font-weight:bold; display:block; text-align:center; }

.desc4 { font-style:italic; text-align:left; display:block; padding:10px; margin:0px auto 0px auto; 
text-align:center; }

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

Console