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.

              <svg xmlns="http://www.w3.org/2000/svg" class="svg-icon">
      <circle r="60" cx="50%" cy="50%" fill="yellowgreen"/>
      <text x="50%" y="50%" dy=".4em" text-anchor="middle" style="font: 38px/1 Trebuchet MS; fill: #FFF">SVG</text>
              BODY {
  text-align: center;

.svg-icon {
  display: inline-block;
  margin: 3em 2em;
  width: 180px;
  height: 130px;
  background: url(https://img-fotki.yandex.ru/get/5807/5091629.a3/0_86371_b2660de0_orig) no-repeat center center;
  border: 1px solid #555;
  /* This hides bg-image in modern browsers except IE9 */
  background: linear-gradient(transparent, transparent);
  /* This hides bg-image in IE9 */
  background-position: -1000vh 0;

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