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 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.

              <div style="width:300px; height:300px; max-height:300px; margin:0 auto; overflow:hidden; font-family:helvetica, arial, sans-serif;">

<a href="https://www.google.com/?q=images+are+enabled" title=""><img src="http://dummyimage.com/300x300/4c0000/b2b2b2" srcset="http://dummyimage.com/300x300/00007f/b2b2b2 1x, http://dummyimage.com/600x600/004000/b2b2b2 2x, http://dummyimage.com/900x900/232323/b2b2b2 3x" style="display:block;" aria-hidden="true" alt="" border="0"></a>

<!--[if mso]><!-->
<input type="radio" id="alternative" lang="x-alternative" class="hide-input" style="display:none !important;mso-hide:all;" checked>

<div class="alt-content" lang="x-alt-content" style="display:none; mso-hide:all;" role="img">
 <div style="width:300px; height:300px; text-align:center; line-height:40px;">

  <span style="color:#ff3288;font-size:35px;font-weight:normal;">What</span><br>
  <span style="color:#e83634;font-size:40px;font-weight:bold;">a</span><br>
  <span style="color:#ff4628;font-size:32px;font-weight:normal;">wonderful</span><br>
  <span style="color:#e85119;font-size:30px;font-weight:bold;">alterative</span><br>
  <span style="color:#94603d;font-size:50px;font-weight:bold;">image</span><br>

   <a style="color:#E83634;" href="https://www.google.com/?q=images+are+NOT+enabled"><span style="color:#e83634;font-size:35px;font-family:helvetica, arial, sans-serif;font-weight:normal;">world</span></a>


              .hide-input {
 display:none !important;

#alternative:checked + .alt-content,
* [lang="x-alternative"]:checked + [lang="x-alt-content"] {
 display: block !important;
//break the image URLs to reveal the alternative content
//no javascripts allowed

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