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 style="width:900px; text-align:left; margin: 0px auto 0px auto; padding:20px;">

<span class="navpart">Background and Shadow</span>

<br />

<div class="left">

<table style="float:left; margin:0px 20px 10px 0px;"><tr>

<td class="showbor" style="padding:0px 5px 0px 5px; height:70px; background-color:transparent; color:#000000; vertical-align:middle; text-align:center; font-weight:bold; text-shadow: -1px -1px 0px #ffffff, 1px 1px 0px #ffffff, 1px 0px 0px #ffffff, 0px 1px 0px #ffffff, -1px 0px 0px #ffffff, 0px -1px 0px #ffffff, -1px 2px 7px #000000;">transparent</td>

<td style="width:10px;"></td>

<td class="showbor" style="padding:0px 5px 0px 5px; height:70px; background-color:#0080ff; color:#000000; vertical-align:middle; text-align:center; font-weight:bold; text-shadow: -1px -1px 0px #ffffff, 1px 1px 0px #ffffff, 1px 0px 0px #ffffff, 0px 1px 0px #ffffff, -1px 0px 0px #ffffff, 0px -1px 0px #ffffff, -1px 2px 7px #000000;">#0080ff</td>


<span class="bolet">Background colors and pictures:</span>
<br /><br />

<span class="bolet">Background scrolling:</span>
background-attachment:fixed; &nbsp; (the background doesn't move)
<br />
background-attachment:scroll; &nbsp; (the background moves with the content) 
<br /><br />

<span class="bolet">Tiled background:</span>
background-repeat:no-repeat; &nbsp; (the background is not repeated)
<br />
background-repeat:repeat; &nbsp; (the background is repeated horizontally and vertically)
<br />
background-repeat:repeat-x; &nbsp; (the background is repeated horizontally)
<br />
background-repeat:repeat-y; &nbsp; (the background is repeated vertically)
<br /><br />

<span class="bolet">Background position:</span>
background-position:0px 0px; &nbsp; (positioned from the left and top of the page by default)
<br />
Other background positions: left top | left center | left bottom | right top | right center | right bottom | center top | center center | center bottom
<br /><br />

<span class="bolet">Background size:</span> Use auto to keep the aspect ratio. 
The % is relative to the element.
<br />
background-size: width height;
background-size: auto 100px;
background-size: 100% auto;
<br />
Full screen picture background: &nbsp; html, body { width:100%; height:100%; } 
<br />
body { background-size: 100% auto; background-repeat:no-repeat; background-position:center center; } 
<br /><br />

<span class="bolet">Multiple backgrounds:</span> The attributes must be in the same order, the first background goes on top. 

background-image:url(design/blueback.png),url(design/skyblueline.png); background-repeat:no-repeat,repeat-x; background-position:center top, center center;

<br /><br />

<span class="bolet">Opacity:</span>
<span style="opacity:1.0;">opacity:1.0;</span>
<span style="opacity:0.9;">opacity:0.9;</span>
<span style="opacity:0.8;">opacity:0.8;</span>
<span style="opacity:0.7;">opacity:0.7;</span>
<span style="opacity:0.6;">opacity:0.6;</span>
<span style="opacity:0.5;">opacity:0.5;</span>
<span style="opacity:0.4;">opacity:0.4;</span>
<span style="opacity:0.3;">opacity:0.3;</span>
<span style="opacity:0.2;">opacity:0.2;</span>
<span style="opacity:0.1;">opacity:0.1;</span>

<br /><br />

<div class="showbor" style="width:100px; height:50px; float:left; margin:0px 20px 10px 0px; background:linear-gradient(#0080ff, #c0c0c0);"></div>

<span class="bolet">Gradients:</span> background: linear-gradient(start position, start color, end color); 
<br />
background:linear-gradient(#0080ff, #c0c0c0);

<br /><br />

<span class="bolet">Box Shadow:</span>

box-shadow: horizontal -left +right | vertical -up +down | blur | padding | color


<div class="showbor" style="display:inline-block; box-shadow: -3px -3px 3px 3px #ff8ee8; margin:10px; padding:5px;"> 
box-shadow: -3px -3px 3px 3px #ff8ee8; </div> 

<div class="showbor" style="display:inline-block; box-shadow: 0px 10px 5px -4px #33a4ff; margin:10px; padding:5px;"> 
box-shadow: 0px 10px 5px -4px #33a4ff; </div> 

<div class="showbor" style="display:inline-block; box-shadow: inset 0px 0px 7px 7px #ffff00; margin:10px; padding:5px;"> 
box-shadow: inset 0px 0px 7px 7px #ffff00; </div> 
<br /><br />
<a href="http://azurelight.net">AzureLight.net</a> | 
<a href="http://mikaristar.deviantart.com">MikariStar.DeviantArt.com</a> | 
<a href="http://artrift.com/Mikari/">ArtRift.com/Mikari/</a> | 
<a href="http://miliazure.wordpress.com">MiliAzure.WordPress.com</a>
              body { padding:0px; margin:0px; font-family:Arial; font-size:14px; line-height:20px; 
color:#393939; background-color:#c2f0ff; text-align:center; }

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

.showbor { border:0px none; border:3px dotted #ff9adc; padding:0px; } 

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